a whole lotta work!!
- refactoring - completely changed the tooling (adding elements) - better re-use for more stable editing - new elements - ui adjustments - LINT for stair-editing - many more changes
This commit is contained in:
@@ -84,7 +84,7 @@ public:
|
||||
GridFactory<MyNode> fac(grid);
|
||||
fac.build(im, &l);
|
||||
|
||||
Importance::addImportance(grid, 0);
|
||||
Importance::addImportance(grid);
|
||||
//Importance::addImportance(grid, 400);
|
||||
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
}
|
||||
|
||||
case GridRendererColorMode::SHOW_NODE_IMPORTANCE: {
|
||||
const float xx = n.imp - 0.6;
|
||||
const float xx = n.navImportance - 0.6;
|
||||
glColor3f(xx, xx, xx);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -2,10 +2,9 @@
|
||||
#define MYNODE_H
|
||||
|
||||
#include <Indoor/grid/Grid.h>
|
||||
#include <Indoor/grid/factory/v2/GridNodeImportance.h>
|
||||
|
||||
struct MyNode : public GridNode, public GridPoint {
|
||||
|
||||
float imp;
|
||||
struct MyNode : public GridNode, public GridPoint, public GridNodeImportance {
|
||||
|
||||
MyNode(float x, float y, float z) : GridPoint(x,y,z) {;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user