Recast Navigation
Navigation-mesh Toolset for Games
Loading...
Searching...
No Matches
SampleDebugDraw Class Reference

#include <Sample.h>

Inheritance diagram for SampleDebugDraw:
DebugDrawGL duDebugDraw

Public Member Functions

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

Member Function Documentation

◆ areaToCol()

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

Compute a color for given area.

Reimplemented from duDebugDraw.


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