Recast Navigation
Navigation-mesh Toolset for Games
|
#include <math.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include "Recast.h"
#include "RecastAlloc.h"
#include "RecastDump.h"
Functions | |
static void | ioprintf (duFileIO *io, const char *format,...) |
bool | duDumpPolyMeshToObj (rcPolyMesh &pmesh, duFileIO *io) |
bool | duDumpPolyMeshDetailToObj (rcPolyMeshDetail &dmesh, duFileIO *io) |
bool | duDumpContourSet (struct rcContourSet &cset, duFileIO *io) |
bool | duReadContourSet (struct rcContourSet &cset, duFileIO *io) |
bool | duDumpCompactHeightfield (struct rcCompactHeightfield &chf, duFileIO *io) |
bool | duReadCompactHeightfield (struct rcCompactHeightfield &chf, duFileIO *io) |
static void | logLine (rcContext &ctx, rcTimerLabel label, const char *name, const float pc) |
void | duLogBuildTimes (rcContext &ctx, const int totalTimeUsec) |
Variables | |
static const int | CSET_MAGIC = ('c' << 24) | ('s' << 16) | ('e' << 8) | 't' |
static const int | CSET_VERSION = 2 |
static const int | CHF_MAGIC = ('r' << 24) | ('c' << 16) | ('h' << 8) | 'f' |
static const int | CHF_VERSION = 3 |
bool duDumpCompactHeightfield | ( | struct rcCompactHeightfield & | chf, |
duFileIO * | io | ||
) |
bool duDumpContourSet | ( | struct rcContourSet & | cset, |
duFileIO * | io | ||
) |
bool duDumpPolyMeshDetailToObj | ( | rcPolyMeshDetail & | dmesh, |
duFileIO * | io | ||
) |
bool duDumpPolyMeshToObj | ( | rcPolyMesh & | pmesh, |
duFileIO * | io | ||
) |
void duLogBuildTimes | ( | rcContext & | ctx, |
const int | totalTimeUsec | ||
) |
bool duReadCompactHeightfield | ( | struct rcCompactHeightfield & | chf, |
duFileIO * | io | ||
) |
bool duReadContourSet | ( | struct rcContourSet & | cset, |
duFileIO * | io | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |