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

Function duDebugDrawNavMesh

3rdparty/recast/DetourDebugDraw.cpp:237–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void duDebugDrawNavMesh(duDebugDraw* dd, const dtNavMesh& mesh, unsigned char flags)
238{
239 if (!dd) return;
240
241 for (int i = 0; i < mesh.getMaxTiles(); ++i)
242 {
243 const dtMeshTile* tile = mesh.getTile(i);
244 if (!tile->header) continue;
245 drawMeshTile(dd, mesh, 0, tile, flags);
246 }
247}
248
249void duDebugDrawNavMeshWithClosedList(struct duDebugDraw* dd, const dtNavMesh& mesh, const dtNavMeshQuery& query, unsigned char flags)
250{

Callers

nothing calls this directly

Calls 3

drawMeshTileFunction · 0.85
getMaxTilesMethod · 0.80
getTileMethod · 0.45

Tested by

no test coverage detected