Recast Navigation
Navigation-mesh Toolset for Games
RecastDebugDraw.h File Reference

Go to the source code of this file.

Functions

void duDebugDrawTriMesh (struct duDebugDraw *dd, const float *verts, int nverts, const int *tris, const float *normals, int ntris, const unsigned char *flags, const float texScale)
 
void duDebugDrawTriMeshSlope (struct duDebugDraw *dd, const float *verts, int nverts, const int *tris, const float *normals, int ntris, const float walkableSlopeAngle, const float texScale)
 
void duDebugDrawHeightfieldSolid (struct duDebugDraw *dd, const struct rcHeightfield &hf)
 
void duDebugDrawHeightfieldWalkable (struct duDebugDraw *dd, const struct rcHeightfield &hf)
 
void duDebugDrawCompactHeightfieldSolid (struct duDebugDraw *dd, const struct rcCompactHeightfield &chf)
 
void duDebugDrawCompactHeightfieldRegions (struct duDebugDraw *dd, const struct rcCompactHeightfield &chf)
 
void duDebugDrawCompactHeightfieldDistance (struct duDebugDraw *dd, const struct rcCompactHeightfield &chf)
 
void duDebugDrawHeightfieldLayer (duDebugDraw *dd, const struct rcHeightfieldLayer &layer, const int idx)
 
void duDebugDrawHeightfieldLayers (duDebugDraw *dd, const struct rcHeightfieldLayerSet &lset)
 
void duDebugDrawHeightfieldLayersRegions (duDebugDraw *dd, const struct rcHeightfieldLayerSet &lset)
 
void duDebugDrawRegionConnections (struct duDebugDraw *dd, const struct rcContourSet &cset, const float alpha=1.0f)
 
void duDebugDrawRawContours (struct duDebugDraw *dd, const struct rcContourSet &cset, const float alpha=1.0f)
 
void duDebugDrawContours (struct duDebugDraw *dd, const struct rcContourSet &cset, const float alpha=1.0f)
 
void duDebugDrawPolyMesh (struct duDebugDraw *dd, const struct rcPolyMesh &mesh)
 
void duDebugDrawPolyMeshDetail (struct duDebugDraw *dd, const struct rcPolyMeshDetail &dmesh)
 

Function Documentation

◆ duDebugDrawCompactHeightfieldDistance()

void duDebugDrawCompactHeightfieldDistance ( struct duDebugDraw dd,
const struct rcCompactHeightfield chf 
)

◆ duDebugDrawCompactHeightfieldRegions()

void duDebugDrawCompactHeightfieldRegions ( struct duDebugDraw dd,
const struct rcCompactHeightfield chf 
)

◆ duDebugDrawCompactHeightfieldSolid()

void duDebugDrawCompactHeightfieldSolid ( struct duDebugDraw dd,
const struct rcCompactHeightfield chf 
)

◆ duDebugDrawContours()

void duDebugDrawContours ( struct duDebugDraw dd,
const struct rcContourSet cset,
const float  alpha = 1.0f 
)

◆ duDebugDrawHeightfieldLayer()

void duDebugDrawHeightfieldLayer ( duDebugDraw dd,
const struct rcHeightfieldLayer layer,
const int  idx 
)

◆ duDebugDrawHeightfieldLayers()

void duDebugDrawHeightfieldLayers ( duDebugDraw dd,
const struct rcHeightfieldLayerSet lset 
)

◆ duDebugDrawHeightfieldLayersRegions()

void duDebugDrawHeightfieldLayersRegions ( duDebugDraw dd,
const struct rcHeightfieldLayerSet lset 
)

◆ duDebugDrawHeightfieldSolid()

void duDebugDrawHeightfieldSolid ( struct duDebugDraw dd,
const struct rcHeightfield hf 
)

◆ duDebugDrawHeightfieldWalkable()

void duDebugDrawHeightfieldWalkable ( struct duDebugDraw dd,
const struct rcHeightfield hf 
)

◆ duDebugDrawPolyMesh()

void duDebugDrawPolyMesh ( struct duDebugDraw dd,
const struct rcPolyMesh mesh 
)

◆ duDebugDrawPolyMeshDetail()

void duDebugDrawPolyMeshDetail ( struct duDebugDraw dd,
const struct rcPolyMeshDetail dmesh 
)

◆ duDebugDrawRawContours()

void duDebugDrawRawContours ( struct duDebugDraw dd,
const struct rcContourSet cset,
const float  alpha = 1.0f 
)

◆ duDebugDrawRegionConnections()

void duDebugDrawRegionConnections ( struct duDebugDraw dd,
const struct rcContourSet cset,
const float  alpha = 1.0f 
)

◆ duDebugDrawTriMesh()

void duDebugDrawTriMesh ( struct duDebugDraw dd,
const float *  verts,
int  nverts,
const int *  tris,
const float *  normals,
int  ntris,
const unsigned char *  flags,
const float  texScale 
)

◆ duDebugDrawTriMeshSlope()

void duDebugDrawTriMeshSlope ( struct duDebugDraw dd,
const float *  verts,
int  nverts,
const int *  tris,
const float *  normals,
int  ntris,
const float  walkableSlopeAngle,
const float  texScale 
)