| 40 | } |
| 41 | |
| 42 | void dtPathQueue::purge() |
| 43 | { |
| 44 | dtFreeNavMeshQuery(m_navquery); |
| 45 | m_navquery = 0; |
| 46 | for (int i = 0; i < MAX_QUEUE; ++i) |
| 47 | { |
| 48 | dtFree(m_queue[i].path); |
| 49 | m_queue[i].path = 0; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | bool dtPathQueue::init(const int maxPathSize, const int maxSearchNodeCount, dtNavMesh* nav) |
| 54 | { |
nothing calls this directly
no test coverage detected