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

Function duDebugDrawNavMeshWithClosedList

3rdparty/recast/DetourDebugDraw.cpp:249–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249void duDebugDrawNavMeshWithClosedList(struct duDebugDraw* dd, const dtNavMesh& mesh, const dtNavMeshQuery& query, unsigned char flags)
250{
251 if (!dd) return;
252
253 const dtNavMeshQuery* q = (flags & DU_DRAWNAVMESH_CLOSEDLIST) ? &query : 0;
254
255 for (int i = 0; i < mesh.getMaxTiles(); ++i)
256 {
257 const dtMeshTile* tile = mesh.getTile(i);
258 if (!tile->header) continue;
259 drawMeshTile(dd, mesh, q, tile, flags);
260 }
261}
262
263void duDebugDrawNavMeshNodes(struct duDebugDraw* dd, const dtNavMeshQuery& query)
264{

Callers 1

dtDrawMethod · 0.85

Calls 3

drawMeshTileFunction · 0.85
getMaxTilesMethod · 0.80
getTileMethod · 0.45

Tested by

no test coverage detected