| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
#ifndef DETOURDEBUGDRAW_H |
| 20 |
#define DETOURDEBUGDRAW_H |
| 21 |
|
| 22 |
#include "DetourNavMesh.h" |
| 23 |
#include "DetourNavMeshQuery.h" |
| 24 |
#include "DetourTileCacheBuilder.h" |
| 25 |
|
| 26 |
enum DrawNavMeshFlags |
| 27 |
{ |
| 28 |
DU_DRAWNAVMESH_OFFMESHCONS = 0x01, |
| 29 |
DU_DRAWNAVMESH_CLOSEDLIST = 0x02, |
| 30 |
DU_DRAWNAVMESH_COLOR_TILES = 0x04 |
| 31 |
}; |
| 32 |
|
| 33 |
void duDebugDrawNavMesh(struct duDebugDraw* dd, const dtNavMesh& mesh, unsigned char flags); |
| 34 |
void duDebugDrawNavMeshWithClosedList(struct duDebugDraw* dd, const dtNavMesh& mesh, const dtNavMeshQuery& query, unsigned char flags); |
| 35 |
void duDebugDrawNavMeshNodes(struct duDebugDraw* dd, const dtNavMeshQuery& query); |
| 36 |
void duDebugDrawNavMeshBVTree(struct duDebugDraw* dd, const dtNavMesh& mesh); |
| 37 |
void duDebugDrawNavMeshPortals(struct duDebugDraw* dd, const dtNavMesh& mesh); |
| 38 |
void duDebugDrawNavMeshPolysWithFlags(struct duDebugDraw* dd, const dtNavMesh& mesh, const unsigned short polyFlags, const unsigned int col); |
| 39 |
void duDebugDrawNavMeshPoly(struct duDebugDraw* dd, const dtNavMesh& mesh, dtPolyRef ref, const unsigned int col); |
| 40 |
|
| 41 |
void duDebugDrawTileCacheLayerAreas(struct duDebugDraw* dd, const dtTileCacheLayer& layer, const float cs, const float ch); |
| 42 |
void duDebugDrawTileCacheLayerRegions(struct duDebugDraw* dd, const dtTileCacheLayer& layer, const float cs, const float ch); |
| 43 |
void duDebugDrawTileCacheContours(duDebugDraw* dd, const struct dtTileCacheContourSet& lcset, |
| 44 |
const float* orig, const float cs, const float ch); |
| 45 |
void duDebugDrawTileCachePolyMesh(duDebugDraw* dd, const struct dtTileCachePolyMesh& lmesh, |
| 46 |
const float* orig, const float cs, const float ch); |
| 47 |
|
| 48 |
#endif |