worked on navMesh stuff
- creation - walking - helper
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "../../navMesh/NavMeshFactory.h"
|
||||
#include "../../navMesh/walk/NavMeshSub.h"
|
||||
using namespace NM;
|
||||
|
||||
TEST(NavMeshSub, build1) {
|
||||
|
||||
@@ -17,11 +18,11 @@ TEST(NavMeshSub, build1) {
|
||||
outline.outdoor = false;
|
||||
outline.method = Floorplan::OutlineMethod::ADD;
|
||||
|
||||
NavMesh<NavMeshTriangle> nm;
|
||||
NavMeshFactory<NavMeshTriangle> fac(&nm);
|
||||
NavMesh<NM::NavMeshTriangle> nm;
|
||||
NavMeshFactory<NM::NavMeshTriangle> fac(&nm);
|
||||
fac.build(&map);
|
||||
|
||||
NavMeshLocation<NavMeshTriangle> loc = nm.getLocation(Point3(1,1,1));
|
||||
NavMeshLocation<NM::NavMeshTriangle> loc = nm.getLocation(Point3(1,1,1));
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user