Planeshift
Public Attributes

rcPolyMesh Struct Reference

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

#include <Recast.h>

List of all members.

Public Attributes

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

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

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

Definition at line 389 of file Recast.h.

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

Definition at line 395 of file Recast.h.

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

Definition at line 394 of file Recast.h.

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

Definition at line 398 of file Recast.h.

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

Definition at line 397 of file Recast.h.

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

Definition at line 396 of file Recast.h.

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

Definition at line 388 of file Recast.h.

The number of allocated polygons.

Definition at line 392 of file Recast.h.

The number of polygons.

Definition at line 391 of file Recast.h.

The number of vertices.

Definition at line 390 of file Recast.h.

The maximum number of vertices per polygon.

Definition at line 393 of file Recast.h.

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

Definition at line 386 of file Recast.h.

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

Definition at line 387 of file Recast.h.

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: