Recast Navigation
Navigation-mesh Toolset for Games
SampleDebugDraw Class Reference

#include <Sample.h>

Inheritance diagram for SampleDebugDraw:
DebugDrawGL duDebugDraw

Public Member Functions

virtual unsigned int areaToCol (unsigned int area)
 Compute a color for given area. More...
 
- Public Member Functions inherited from DebugDrawGL
virtual void depthMask (bool state)
 
virtual void texture (bool state)
 
virtual void begin (duDebugDrawPrimitives prim, float size=1.0f)
 Begin drawing primitives. More...
 
virtual void vertex (const float *pos, unsigned int color)
 Submit a vertex. More...
 
virtual void vertex (const float x, const float y, const float z, unsigned int color)
 Submit a vertex. More...
 
virtual void vertex (const float *pos, unsigned int color, const float *uv)
 Submit a vertex. More...
 
virtual void vertex (const float x, const float y, const float z, unsigned int color, const float u, const float v)
 Submit a vertex. More...
 
virtual void end ()
 End drawing primitives. More...
 
- Public Member Functions inherited from duDebugDraw
virtual ~duDebugDraw ()=0
 

Member Function Documentation

◆ areaToCol()

unsigned int SampleDebugDraw::areaToCol ( unsigned int  area)
virtual

Compute a color for given area.

Reimplemented from duDebugDraw.


The documentation for this class was generated from the following files: