Recast Navigation
Navigation-mesh Toolset for Games
|
Go to the source code of this file.
Classes | |
struct | duDebugDraw |
Abstract debug draw interface. More... | |
class | duDisplayList |
Enumerations | |
enum | duDebugDrawPrimitives { DU_DRAW_POINTS , DU_DRAW_LINES , DU_DRAW_TRIS , DU_DRAW_QUADS } |
Functions | |
unsigned int | duRGBA (int r, int g, int b, int a) |
unsigned int | duRGBAf (float fr, float fg, float fb, float fa) |
unsigned int | duIntToCol (int i, int a) |
void | duIntToCol (int i, float *col) |
unsigned int | duMultCol (const unsigned int col, const unsigned int d) |
unsigned int | duDarkenCol (unsigned int col) |
unsigned int | duLerpCol (unsigned int ca, unsigned int cb, unsigned int u) |
unsigned int | duTransCol (unsigned int c, unsigned int a) |
void | duCalcBoxColors (unsigned int *colors, unsigned int colTop, unsigned int colSide) |
void | duDebugDrawCylinderWire (struct duDebugDraw *dd, float minx, float miny, float minz, float maxx, float maxy, float maxz, unsigned int col, const float lineWidth) |
void | duDebugDrawBoxWire (struct duDebugDraw *dd, float minx, float miny, float minz, float maxx, float maxy, float maxz, unsigned int col, const float lineWidth) |
void | duDebugDrawArc (struct duDebugDraw *dd, const float x0, const float y0, const float z0, const float x1, const float y1, const float z1, const float h, const float as0, const float as1, unsigned int col, const float lineWidth) |
void | duDebugDrawArrow (struct duDebugDraw *dd, const float x0, const float y0, const float z0, const float x1, const float y1, const float z1, const float as0, const float as1, unsigned int col, const float lineWidth) |
void | duDebugDrawCircle (struct duDebugDraw *dd, const float x, const float y, const float z, const float r, unsigned int col, const float lineWidth) |
void | duDebugDrawCross (struct duDebugDraw *dd, const float x, const float y, const float z, const float size, unsigned int col, const float lineWidth) |
void | duDebugDrawBox (struct duDebugDraw *dd, float minx, float miny, float minz, float maxx, float maxy, float maxz, const unsigned int *fcol) |
void | duDebugDrawCylinder (struct duDebugDraw *dd, float minx, float miny, float minz, float maxx, float maxy, float maxz, unsigned int col) |
void | duDebugDrawGridXZ (struct duDebugDraw *dd, const float ox, const float oy, const float oz, const int w, const int h, const float size, const unsigned int col, const float lineWidth) |
void | duAppendCylinderWire (struct duDebugDraw *dd, float minx, float miny, float minz, float maxx, float maxy, float maxz, unsigned int col) |
void | duAppendBoxWire (struct duDebugDraw *dd, float minx, float miny, float minz, float maxx, float maxy, float maxz, unsigned int col) |
void | duAppendBoxPoints (struct duDebugDraw *dd, float minx, float miny, float minz, float maxx, float maxy, float maxz, unsigned int col) |
void | duAppendArc (struct duDebugDraw *dd, const float x0, const float y0, const float z0, const float x1, const float y1, const float z1, const float h, const float as0, const float as1, unsigned int col) |
void | duAppendArrow (struct duDebugDraw *dd, const float x0, const float y0, const float z0, const float x1, const float y1, const float z1, const float as0, const float as1, unsigned int col) |
void | duAppendCircle (struct duDebugDraw *dd, const float x, const float y, const float z, const float r, unsigned int col) |
void | duAppendCross (struct duDebugDraw *dd, const float x, const float y, const float z, const float size, unsigned int col) |
void | duAppendBox (struct duDebugDraw *dd, float minx, float miny, float minz, float maxx, float maxy, float maxz, const unsigned int *fcol) |
void | duAppendCylinder (struct duDebugDraw *dd, float minx, float miny, float minz, float maxx, float maxy, float maxz, unsigned int col) |
Variables | |
static const float | DU_PI = 3.14159265f |
void duAppendArc | ( | struct duDebugDraw * | dd, |
const float | x0, | ||
const float | y0, | ||
const float | z0, | ||
const float | x1, | ||
const float | y1, | ||
const float | z1, | ||
const float | h, | ||
const float | as0, | ||
const float | as1, | ||
unsigned int | col | ||
) |
void duAppendArrow | ( | struct duDebugDraw * | dd, |
const float | x0, | ||
const float | y0, | ||
const float | z0, | ||
const float | x1, | ||
const float | y1, | ||
const float | z1, | ||
const float | as0, | ||
const float | as1, | ||
unsigned int | col | ||
) |
void duAppendBox | ( | struct duDebugDraw * | dd, |
float | minx, | ||
float | miny, | ||
float | minz, | ||
float | maxx, | ||
float | maxy, | ||
float | maxz, | ||
const unsigned int * | fcol | ||
) |
void duAppendBoxPoints | ( | struct duDebugDraw * | dd, |
float | minx, | ||
float | miny, | ||
float | minz, | ||
float | maxx, | ||
float | maxy, | ||
float | maxz, | ||
unsigned int | col | ||
) |
void duAppendBoxWire | ( | struct duDebugDraw * | dd, |
float | minx, | ||
float | miny, | ||
float | minz, | ||
float | maxx, | ||
float | maxy, | ||
float | maxz, | ||
unsigned int | col | ||
) |
void duAppendCircle | ( | struct duDebugDraw * | dd, |
const float | x, | ||
const float | y, | ||
const float | z, | ||
const float | r, | ||
unsigned int | col | ||
) |
void duAppendCross | ( | struct duDebugDraw * | dd, |
const float | x, | ||
const float | y, | ||
const float | z, | ||
const float | size, | ||
unsigned int | col | ||
) |
void duAppendCylinder | ( | struct duDebugDraw * | dd, |
float | minx, | ||
float | miny, | ||
float | minz, | ||
float | maxx, | ||
float | maxy, | ||
float | maxz, | ||
unsigned int | col | ||
) |
void duAppendCylinderWire | ( | struct duDebugDraw * | dd, |
float | minx, | ||
float | miny, | ||
float | minz, | ||
float | maxx, | ||
float | maxy, | ||
float | maxz, | ||
unsigned int | col | ||
) |
void duCalcBoxColors | ( | unsigned int * | colors, |
unsigned int | colTop, | ||
unsigned int | colSide | ||
) |
|
inline |
void duDebugDrawArc | ( | struct duDebugDraw * | dd, |
const float | x0, | ||
const float | y0, | ||
const float | z0, | ||
const float | x1, | ||
const float | y1, | ||
const float | z1, | ||
const float | h, | ||
const float | as0, | ||
const float | as1, | ||
unsigned int | col, | ||
const float | lineWidth | ||
) |
void duDebugDrawArrow | ( | struct duDebugDraw * | dd, |
const float | x0, | ||
const float | y0, | ||
const float | z0, | ||
const float | x1, | ||
const float | y1, | ||
const float | z1, | ||
const float | as0, | ||
const float | as1, | ||
unsigned int | col, | ||
const float | lineWidth | ||
) |
void duDebugDrawBox | ( | struct duDebugDraw * | dd, |
float | minx, | ||
float | miny, | ||
float | minz, | ||
float | maxx, | ||
float | maxy, | ||
float | maxz, | ||
const unsigned int * | fcol | ||
) |
void duDebugDrawBoxWire | ( | struct duDebugDraw * | dd, |
float | minx, | ||
float | miny, | ||
float | minz, | ||
float | maxx, | ||
float | maxy, | ||
float | maxz, | ||
unsigned int | col, | ||
const float | lineWidth | ||
) |
void duDebugDrawCircle | ( | struct duDebugDraw * | dd, |
const float | x, | ||
const float | y, | ||
const float | z, | ||
const float | r, | ||
unsigned int | col, | ||
const float | lineWidth | ||
) |
void duDebugDrawCross | ( | struct duDebugDraw * | dd, |
const float | x, | ||
const float | y, | ||
const float | z, | ||
const float | size, | ||
unsigned int | col, | ||
const float | lineWidth | ||
) |
void duDebugDrawCylinder | ( | struct duDebugDraw * | dd, |
float | minx, | ||
float | miny, | ||
float | minz, | ||
float | maxx, | ||
float | maxy, | ||
float | maxz, | ||
unsigned int | col | ||
) |
void duDebugDrawCylinderWire | ( | struct duDebugDraw * | dd, |
float | minx, | ||
float | miny, | ||
float | minz, | ||
float | maxx, | ||
float | maxy, | ||
float | maxz, | ||
unsigned int | col, | ||
const float | lineWidth | ||
) |
void duDebugDrawGridXZ | ( | struct duDebugDraw * | dd, |
const float | ox, | ||
const float | oy, | ||
const float | oz, | ||
const int | w, | ||
const int | h, | ||
const float | size, | ||
const unsigned int | col, | ||
const float | lineWidth | ||
) |
void duIntToCol | ( | int | i, |
float * | col | ||
) |
unsigned int duIntToCol | ( | int | i, |
int | a | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |