19#ifndef DETOURPATHQUEUE_H
20#define DETOURPATHQUEUE_H
22#include "DetourNavMesh.h"
23#include "DetourNavMeshQuery.h"
25static const unsigned int DT_PATHQ_INVALID = 0;
27typedef unsigned int dtPathQueueRef;
35 float startPos[3], endPos[3];
46 static const int MAX_QUEUE = 8;
47 PathQuery m_queue[MAX_QUEUE];
48 dtPathQueueRef m_nextHandle;
59 bool init(
const int maxPathSize,
const int maxSearchNodeCount,
dtNavMesh* nav);
61 void update(
const int maxIters);
64 const float* startPos,
const float* endPos,
67 dtStatus getRequestStatus(dtPathQueueRef ref)
const;
69 dtStatus getPathResult(dtPathQueueRef ref,
dtPolyRef* path,
int* pathSize,
const int maxPath);
71 inline const dtNavMeshQuery* getNavQuery()
const {
return m_navquery; }
Definition DetourNavMeshQuery.h:166
Definition DetourNavMesh.h:339
Definition DetourPathQueue.h:30
Definition DetourNavMeshQuery.h:36
unsigned int dtPolyRef
Definition DetourNavMesh.h:48