20 lines
291 B
C++
20 lines
291 B
C++
#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
|