some refactorings/fixes
worked on nav-mesh stuff new tests
This commit is contained in:
@@ -143,7 +143,8 @@ TEST(NavMeshDijkstra, path) {
|
||||
// remove2.poly.points.push_back(Point2(-2,+2));
|
||||
// remove2.poly.points.push_back(Point2(-11,+2));
|
||||
|
||||
Floorplan::IndoorMap* map = Floorplan::Reader::readFromFile("/mnt/vm/paper/diss/data/maps/map_stair1.xml");
|
||||
//Floorplan::IndoorMap* map = Floorplan::Reader::readFromFile("/mnt/vm/paper/diss/data/maps/map_stair1.xml");
|
||||
Floorplan::IndoorMap* map = Floorplan::Reader::readFromFile("/apps/paper/diss/data/maps/map_stair1.xml");
|
||||
|
||||
|
||||
NavMeshFactory<MyNMT1231902345> fac(&nm, set);
|
||||
@@ -161,6 +162,7 @@ TEST(NavMeshDijkstra, path) {
|
||||
|
||||
|
||||
NM::NavMeshLocation<MyNMT1231902345> start = rnd.draw();
|
||||
start.tria->getDistanceToDestination<MyNMT1231902345>(start.pos); // just a compiler-test
|
||||
|
||||
NM::NavMeshDijkstra::stamp(nm, dst);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user