Planeshift
rcPolyMesh Struct Reference

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

#include <Recast.h>

Public Attributes

unsigned char * areas
 The area id assigned to each polygon. [Length: maxpolys]. More...
 
float bmax [3]
 The maximum bounds in world space. [(x, y, z)]. More...
 
float bmin [3]
 The minimum bounds in world space. [(x, y, z)]. More...
 
int borderSize
 The AABB border size used to generate the source data from which the mesh was derived. More...
 
float ch
 The height of each cell. (The minimum increment along the y-axis.) More...
 
float cs
 The size of each cell. (On the xz-plane.) More...
 
unsigned short * flags
 The user defined flags for each polygon. [Length: maxpolys]. More...
 
int maxpolys
 The number of allocated polygons. More...
 
int npolys
 The number of polygons. More...
 
int nverts
 The number of vertices. More...
 
int nvp
 The maximum number of vertices per polygon. 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 * verts
 The mesh vertices. [Form: (x, y, z) * nverts]. More...
 

Detailed Description

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

Definition at line 383 of file Recast.h.

Member Data Documentation

unsigned char* rcPolyMesh::areas

The area id assigned to each polygon. [Length: maxpolys].

Definition at line 389 of file Recast.h.

float rcPolyMesh::bmax[3]

The maximum bounds in world space. [(x, y, z)].

Definition at line 395 of file Recast.h.

float rcPolyMesh::bmin[3]

The minimum bounds in world space. [(x, y, z)].

Definition at line 394 of file Recast.h.

int rcPolyMesh::borderSize

The AABB border size used to generate the source data from which the mesh was derived.

Definition at line 398 of file Recast.h.

float rcPolyMesh::ch

The height of each cell. (The minimum increment along the y-axis.)

Definition at line 397 of file Recast.h.

float rcPolyMesh::cs

The size of each cell. (On the xz-plane.)

Definition at line 396 of file Recast.h.

unsigned short* rcPolyMesh::flags

The user defined flags for each polygon. [Length: maxpolys].

Definition at line 388 of file Recast.h.

int rcPolyMesh::maxpolys

The number of allocated polygons.

Definition at line 392 of file Recast.h.

int rcPolyMesh::npolys

The number of polygons.

Definition at line 391 of file Recast.h.

int rcPolyMesh::nverts

The number of vertices.

Definition at line 390 of file Recast.h.

int rcPolyMesh::nvp

The maximum number of vertices per polygon.

Definition at line 393 of file Recast.h.

unsigned short* rcPolyMesh::polys

Polygon and neighbor data. [Length: maxpolys * 2 * nvp].

Definition at line 386 of file Recast.h.

unsigned short* rcPolyMesh::regs

The region id assigned to each polygon. [Length: maxpolys].

Definition at line 387 of file Recast.h.

unsigned short* rcPolyMesh::verts

The mesh vertices. [Form: (x, y, z) * nverts].

Definition at line 385 of file Recast.h.


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