| 235 | } |
| 236 | |
| 237 | void 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 | |
| 249 | void duDebugDrawNavMeshWithClosedList(struct duDebugDraw* dd, const dtNavMesh& mesh, const dtNavMeshQuery& query, unsigned char flags) |
| 250 | { |
nothing calls this directly
no test coverage detected