worked on nav-meshes

This commit is contained in:
2018-01-10 08:31:14 +01:00
parent ca6fed5371
commit 3fc9688825
9 changed files with 165 additions and 36 deletions

19
navMesh/NavMeshLocation.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef NAVMESHLOCATION_H
#define NAVMESHLOCATION_H
#include "../geo/Point3.h"
template <typename Tria> struct NavMeshLocation {
const Tria* tria;
Point3 pos;
/** ctor */
NavMeshLocation(Point3 pos, const Tria* tria) : pos(pos), tria(tria) {
;
}
};
#endif // NAVMESHLOCATION_H