Planeshift
|
#include <InputGeom.h>
Public Member Functions | |
const rcChunkyTriMesh * | getChunkyMesh () const |
const rcMeshLoaderObj * | getMesh () const |
Method to return static mesh data. More... | |
const float * | getMeshBoundsMax () const |
const float * | getMeshBoundsMin () const |
InputGeom () | |
bool | load (class rcContext *ctx, const char *filepath) |
bool | loadMesh (class rcContext *ctx, const char *filepath) |
bool | raycastMesh (float *src, float *dst, float &tmin) |
bool | save (const char *filepath) |
~InputGeom () | |
Box Volumes. | |
int | getConvexVolumeCount () const |
const ConvexVolume * | getConvexVolumes () const |
void | addConvexVolume (const float *verts, const int nverts, const float minh, const float maxh, unsigned char area) |
void | deleteConvexVolume (int i) |
void | drawConvexVolumes (struct duDebugDraw *dd, bool hilight=false) |
Off-Mesh connections. | |
int | getOffMeshConnectionCount () const |
const float * | getOffMeshConnectionVerts () const |
const float * | getOffMeshConnectionRads () const |
const unsigned char * | getOffMeshConnectionDirs () const |
const unsigned char * | getOffMeshConnectionAreas () const |
const unsigned short * | getOffMeshConnectionFlags () const |
const unsigned int * | getOffMeshConnectionId () const |
void | addOffMeshConnection (const float *spos, const float *epos, const float rad, unsigned char bidir, unsigned char area, unsigned short flags) |
void | deleteOffMeshConnection (int i) |
void | drawOffMeshConnections (struct duDebugDraw *dd, bool hilight=false) |
Definition at line 34 of file InputGeom.h.
InputGeom::InputGeom | ( | ) |
InputGeom::~InputGeom | ( | ) |
void InputGeom::addConvexVolume | ( | const float * | verts, |
const int | nverts, | ||
const float | minh, | ||
const float | maxh, | ||
unsigned char | area | ||
) |
void InputGeom::addOffMeshConnection | ( | const float * | spos, |
const float * | epos, | ||
const float | rad, | ||
unsigned char | bidir, | ||
unsigned char | area, | ||
unsigned short | flags | ||
) |
void InputGeom::deleteConvexVolume | ( | int | i | ) |
void InputGeom::deleteOffMeshConnection | ( | int | i | ) |
void InputGeom::drawConvexVolumes | ( | struct duDebugDraw * | dd, |
bool | hilight = false |
||
) |
void InputGeom::drawOffMeshConnections | ( | struct duDebugDraw * | dd, |
bool | hilight = false |
||
) |
|
inline |
Definition at line 72 of file InputGeom.h.
|
inline |
Definition at line 92 of file InputGeom.h.
|
inline |
Definition at line 93 of file InputGeom.h.
|
inline |
Method to return static mesh data.
Definition at line 69 of file InputGeom.h.
|
inline |
Definition at line 71 of file InputGeom.h.
|
inline |
Definition at line 70 of file InputGeom.h.
|
inline |
Definition at line 81 of file InputGeom.h.
|
inline |
Definition at line 77 of file InputGeom.h.
|
inline |
Definition at line 80 of file InputGeom.h.
|
inline |
Definition at line 82 of file InputGeom.h.
Definition at line 83 of file InputGeom.h.
|
inline |
Definition at line 79 of file InputGeom.h.
|
inline |
Definition at line 78 of file InputGeom.h.
bool InputGeom::load | ( | class rcContext * | ctx, |
const char * | filepath | ||
) |
bool InputGeom::loadMesh | ( | class rcContext * | ctx, |
const char * | filepath | ||
) |
bool InputGeom::save | ( | const char * | filepath | ) |