TrinityCore
|
#include <Recast.h>
Public Attributes | |
unsigned short * | verts |
The mesh vertices. [Form: (x, y, z) * nverts]. More... | |
unsigned short * | polys |
Polygon and neighbor data. [Length: maxpolys * 2 * nvp]. More... | |
unsigned short * | regs |
The region id assigned to each polygon. [Length: maxpolys]. More... | |
unsigned short * | flags |
The user defined flags for each polygon. [Length: maxpolys]. More... | |
unsigned char * | areas |
The area id assigned to each polygon. [Length: maxpolys]. More... | |
int | nverts |
The number of vertices. More... | |
int | npolys |
The number of polygons. More... | |
int | maxpolys |
The number of allocated polygons. More... | |
int | nvp |
The maximum number of vertices per polygon. More... | |
float | bmin [3] |
The minimum bounds in world space. [(x, y, z)]. More... | |
float | bmax [3] |
The maximum bounds in world space. [(x, y, z)]. More... | |
float | cs |
The size of each cell. (On the xz-plane.) More... | |
float | ch |
The height of each cell. (The minimum increment along the y-axis.) More... | |
int | borderSize |
The AABB border size used to generate the source data from which the mesh was derived. More... | |
Represents a polygon mesh suitable for use in building a navigation mesh.
unsigned char* rcPolyMesh::areas |
The area id assigned to each polygon. [Length: maxpolys].
float rcPolyMesh::bmax[3] |
The maximum bounds in world space. [(x, y, z)].
float rcPolyMesh::bmin[3] |
The minimum bounds in world space. [(x, y, z)].
int rcPolyMesh::borderSize |
The AABB border size used to generate the source data from which the mesh was derived.
float rcPolyMesh::ch |
The height of each cell. (The minimum increment along the y-axis.)
float rcPolyMesh::cs |
The size of each cell. (On the xz-plane.)
unsigned short* rcPolyMesh::flags |
The user defined flags for each polygon. [Length: maxpolys].
int rcPolyMesh::maxpolys |
The number of allocated polygons.
int rcPolyMesh::npolys |
The number of polygons.
int rcPolyMesh::nverts |
The number of vertices.
int rcPolyMesh::nvp |
The maximum number of vertices per polygon.
unsigned short* rcPolyMesh::regs |
The region id assigned to each polygon. [Length: maxpolys].
unsigned short* rcPolyMesh::verts |
The mesh vertices. [Form: (x, y, z) * nverts].