70#ifndef DVD_NAVIGATION_PATH_H_
71#define DVD_NAVIGATION_PATH_H_
146 vec3<F32>& resultPt, dtPolyRef& resultPoly)
const;
151 dtPolyRef& resultPoly)
const;
bool getRandomNavMeshPoint(const NavigationMesh &navMesh, vec3< F32 > &resultPt) const
bool findNearestPointOnNavmesh(const NavigationMesh &navMesh, const vec3< F32 > &position, const vec3< F32 > &extents, F32 delta, vec3< F32 > &resultPt, dtPolyRef &resultPoly) const
PathErrorCode FindPath(const NavigationMesh &navMesh, const vec3< F32 > &startPos, const vec3< F32 > &endPos, U32 pathSlot, I32 target)
vector< vec3< F32 > > getPath(I32 pathSlot)
I32 getTarget(I32 pathSlot) noexcept
std::unique_ptr< dtQueryFilter > _filter
The poly filter that will be used for all (random) point and nearest poly searches.
bool getRandomPointAroundCircle(const NavigationMesh &navMesh, const vec3< F32 > ¢erPosition, F32 radius, const vec3< F32 > &extents, vec3< F32 > &resultPt, U8 maxIters) const
std::array< PATHDATA, MAX_PATHSLOT > _pathStore
Stores all created paths.
bool findNearestPolyOnNavmesh(const NavigationMesh &navMesh, const vec3< F32 > &position, const vec3< F32 > &extents, vec3< F32 > &resultPt, dtPolyRef &resultPoly) const
Handle console commands that start with a forward slash.
eastl::vector< Type > vector