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

Function duDebugDrawNavMeshBVTree

3rdparty/recast/DetourDebugDraw.cpp:323–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323void duDebugDrawNavMeshBVTree(duDebugDraw* dd, const dtNavMesh& mesh)
324{
325 if (!dd) return;
326
327 for (int i = 0; i < mesh.getMaxTiles(); ++i)
328 {
329 const dtMeshTile* tile = mesh.getTile(i);
330 if (!tile->header) continue;
331 drawMeshTileBVTree(dd, tile);
332 }
333}
334
335static void drawMeshTilePortal(duDebugDraw* dd, const dtMeshTile* tile)
336{

Callers

nothing calls this directly

Calls 3

drawMeshTileBVTreeFunction · 0.85
getMaxTilesMethod · 0.80
getTileMethod · 0.45

Tested by

no test coverage detected