19 #ifndef DETOURPATHQUEUE_H
20 #define DETOURPATHQUEUE_H
35 float startPos[3], endPos[3];
46 static const int MAX_QUEUE = 8;
47 PathQuery m_queue[MAX_QUEUE];
59 bool init(
const int maxPathSize,
const int maxSearchNodeCount,
dtNavMesh* nav);
61 void update(
const int maxIters);
64 const float* startPos,
const float* endPos,
static const unsigned int DT_PATHQ_INVALID
Definition: DetourPathQueue.h:25
unsigned int dtPathQueueRef
Definition: DetourPathQueue.h:27
unsigned int dtStatus
Definition: DetourStatus.h:22
Provides the ability to perform pathfinding related queries against a navigation mesh.
Definition: DetourNavMeshQuery.h:166
A navigation mesh based on tiles of convex polygons.
Definition: DetourNavMesh.h:339
Definition: DetourPathQueue.h:30
dtStatus getRequestStatus(dtPathQueueRef ref) const
Definition: DetourPathQueue.cpp:171
~dtPathQueue()
Definition: DetourPathQueue.cpp:37
dtPathQueue()
Definition: DetourPathQueue.cpp:27
dtStatus getPathResult(dtPathQueueRef ref, dtPolyRef *path, int *pathSize, const int maxPath)
Definition: DetourPathQueue.cpp:181
void update(const int maxIters)
Definition: DetourPathQueue.cpp:77
dtPathQueueRef request(dtPolyRef startRef, dtPolyRef endRef, const float *startPos, const float *endPos, const dtQueryFilter *filter)
Definition: DetourPathQueue.cpp:135
const dtNavMeshQuery * getNavQuery() const
Definition: DetourPathQueue.h:71
bool init(const int maxPathSize, const int maxSearchNodeCount, dtNavMesh *nav)
Definition: DetourPathQueue.cpp:53
Defines polygon filtering and traversal costs for navigation mesh query operations.
Definition: DetourNavMeshQuery.h:36
unsigned int dtPolyRef
A handle to a polygon within a navigation mesh tile.
Definition: DetourNavMesh.h:48