| 247 | } |
| 248 | |
| 249 | void 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 | |
| 263 | void duDebugDrawNavMeshNodes(struct duDebugDraw* dd, const dtNavMeshQuery& query) |
| 264 | { |
no test coverage detected