MCPcopy Create free account
hub / github.com/axmolengine/axmol / purge

Method purge

3rdparty/recast/DetourPathQueue.cpp:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void 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
53bool dtPathQueue::init(const int maxPathSize, const int maxSearchNodeCount, dtNavMesh* nav)
54{

Callers

nothing calls this directly

Calls 2

dtFreeNavMeshQueryFunction · 0.85
dtFreeFunction · 0.85

Tested by

no test coverage detected