worked on nav-meshes
This commit is contained in:
19
navMesh/NavMeshLocation.h
Normal file
19
navMesh/NavMeshLocation.h
Normal 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
|
||||
Reference in New Issue
Block a user