Recast Navigation
Navigation-mesh Toolset for Games
ConvexVolumeTool.cpp File Reference
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <float.h>
#include "SDL.h"
#include "SDL_opengl.h"
#include "imgui.h"
#include "ConvexVolumeTool.h"
#include "InputGeom.h"
#include "Sample.h"
#include "Recast.h"
#include "RecastDebugDraw.h"
#include "DetourDebugDraw.h"

Functions

bool left (const float *a, const float *b, const float *c)
 
bool cmppt (const float *a, const float *b)
 
static int convexhull (const float *pts, int npts, int *out)
 
static int pointInPoly (int nvert, const float *verts, const float *p)
 

Function Documentation

◆ cmppt()

bool cmppt ( const float *  a,
const float *  b 
)
inline

◆ convexhull()

static int convexhull ( const float *  pts,
int  npts,
int *  out 
)
static

◆ left()

bool left ( const float *  a,
const float *  b,
const float *  c 
)
inline

◆ pointInPoly()

static int pointInPoly ( int  nvert,
const float *  verts,
const float *  p 
)
static