worked on nav-meshes
This commit is contained in:
@@ -17,7 +17,7 @@ private:
|
||||
|
||||
template<typename> friend class NavMesh;
|
||||
|
||||
int _neighbors[3];
|
||||
NavMeshTriangle* _neighbors[3];
|
||||
int _numNeighbors;
|
||||
|
||||
/** precalculated stuff */
|
||||
@@ -51,6 +51,10 @@ public:
|
||||
}
|
||||
|
||||
|
||||
decltype(std::begin(_neighbors)) begin() {return std::begin(_neighbors);}
|
||||
|
||||
decltype(std::end(_neighbors)) end() {return std::end(_neighbors);}
|
||||
|
||||
Point3 getA() const {
|
||||
return p1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user