fixed dijkstra memleak
new dijkstra interfaces and abort options refactored all files accordingly enable logging via compile-time defines
This commit is contained in:
@@ -53,7 +53,7 @@ TEST(TestAll, Nav) {
|
||||
const GP& start = g.getNodeFor(GridPoint(500,200,20));
|
||||
const GP& end = g.getNodeFor(GridPoint(1200,200,340));
|
||||
//const GP& end = g.getNodeFor(GridPoint(1300,1300,20));
|
||||
d.build(start, end, tmp);
|
||||
d.build(&start, &end, tmp);
|
||||
|
||||
// add the path's importance to the grid
|
||||
gi.addImportance(g, d.getNode(start), d.getNode(end));
|
||||
|
||||
Reference in New Issue
Block a user