RavEngine
Loading...
Searching...
No Matches
rcPolyMesh Struct Reference

#include <Recast.h>

Public Attributes

unsigned short * verts
 The mesh vertices. [Form: (x, y, z) * nverts].
 
unsigned short * polys
 Polygon and neighbor data. [Length: maxpolys * 2 * nvp].
 
unsigned short * regs
 The region id assigned to each polygon. [Length: maxpolys].
 
unsigned short * flags
 The user defined flags for each polygon. [Length: maxpolys].
 
unsigned char * areas
 The area id assigned to each polygon. [Length: maxpolys].
 
int nverts
 The number of vertices.
 
int npolys
 The number of polygons.
 
int maxpolys
 The number of allocated polygons.
 
int nvp
 The maximum number of vertices per polygon.
 
float bmin [3]
 The minimum bounds in world space. [(x, y, z)].
 
float bmax [3]
 The maximum bounds in world space. [(x, y, z)].
 
float cs
 The size of each cell. (On the xz-plane.)
 
float ch
 The height of each cell. (The minimum increment along the y-axis.)
 
int borderSize
 The AABB border size used to generate the source data from which the mesh was derived.
 
float maxEdgeError
 The max error of the polygon edges in the mesh.
 

Detailed Description

Represents a polygon mesh suitable for use in building a navigation mesh.


The documentation for this struct was generated from the following files: