Recast Navigation
Navigation-mesh Toolset for Games
|
#include "DetourObstacleAvoidance.h"
#include "DetourCommon.h"
#include "DetourMath.h"
#include "DetourAlloc.h"
#include "DetourAssert.h"
#include <string.h>
#include <float.h>
#include <new>
Functions | |
static int | sweepCircleCircle (const float *c0, const float r0, const float *v, const float *c1, const float r1, float &tmin, float &tmax) |
static int | isectRaySeg (const float *ap, const float *u, const float *bp, const float *bq, float &t) |
dtObstacleAvoidanceDebugData * | dtAllocObstacleAvoidanceDebugData () |
void | dtFreeObstacleAvoidanceDebugData (dtObstacleAvoidanceDebugData *ptr) |
static void | normalizeArray (float *arr, const int n) |
dtObstacleAvoidanceQuery * | dtAllocObstacleAvoidanceQuery () |
void | dtFreeObstacleAvoidanceQuery (dtObstacleAvoidanceQuery *ptr) |
void | dtNormalize2D (float *v) |
void | dtRorate2D (float *dest, const float *v, float ang) |
Variables | |
static const float | DT_PI = 3.14159265f |
dtObstacleAvoidanceDebugData* dtAllocObstacleAvoidanceDebugData | ( | ) |
dtObstacleAvoidanceQuery* dtAllocObstacleAvoidanceQuery | ( | ) |
void dtFreeObstacleAvoidanceDebugData | ( | dtObstacleAvoidanceDebugData * | ptr | ) |
void dtFreeObstacleAvoidanceQuery | ( | dtObstacleAvoidanceQuery * | ptr | ) |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |