Recast Navigation
Navigation-mesh Toolset for Games
|
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "SDL.h"
#include "SDL_opengl.h"
#include <GL/glu.h>
#include "imgui.h"
#include "NavMeshTesterTool.h"
#include "Sample.h"
#include "Recast.h"
#include "RecastDebugDraw.h"
#include "DetourNavMesh.h"
#include "DetourNavMeshBuilder.h"
#include "DetourDebugDraw.h"
#include "DetourCommon.h"
#include "DetourPathCorridor.h"
Macros | |
#define | DUMP_REQS |
Functions | |
static float | frand () |
bool | inRange (const float *v1, const float *v2, const float r, const float h) |
static int | fixupShortcuts (dtPolyRef *path, int npath, dtNavMeshQuery *navQuery) |
static bool | getSteerTarget (dtNavMeshQuery *navQuery, const float *startPos, const float *endPos, const float minTargetDist, const dtPolyRef *path, const int pathSize, float *steerPos, unsigned char &steerPosFlag, dtPolyRef &steerPosRef, float *outPoints=0, int *outPointCount=0) |
static void | getPolyCenter (dtNavMesh *navMesh, dtPolyRef ref, float *center) |
#define DUMP_REQS |
|
static |
|
static |
|
static |
|
inline |