Planeshift
rcCompactHeightfield Struct Reference

A compact, static heightfield representing unobstructed space. More...

#include <Recast.h>

Public Attributes

unsigned char * areas
 Array containing area id data. [Size: spanCount]. 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 during the build of the field. (See: rcConfig::borderSize) More...
 
rcCompactCellcells
 Array of cells. [Size: width*height]. 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 * dist
 Array containing border distance data. [Size: spanCount]. More...
 
int height
 The height of the heightfield. (Along the z-axis in cell units.) More...
 
unsigned short maxDistance
 The maximum distance value of any span within the field. More...
 
unsigned short maxRegions
 The maximum region id of any span within the field. More...
 
int spanCount
 The number of spans in the heightfield. More...
 
rcCompactSpanspans
 Array of spans. [Size: spanCount]. More...
 
int walkableClimb
 The walkable climb used during the build of the field. (See: rcConfig::walkableClimb) More...
 
int walkableHeight
 The walkable height used during the build of the field. (See: rcConfig::walkableHeight) More...
 
int width
 The width of the heightfield. (Along the x-axis in cell units.) More...
 

Detailed Description

A compact, static heightfield representing unobstructed space.

Definition at line 305 of file Recast.h.

Member Data Documentation

unsigned char* rcCompactHeightfield::areas

Array containing area id data. [Size: spanCount].

Definition at line 322 of file Recast.h.

float rcCompactHeightfield::bmax[3]

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

Definition at line 316 of file Recast.h.

float rcCompactHeightfield::bmin[3]

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

Definition at line 315 of file Recast.h.

int rcCompactHeightfield::borderSize

The AABB border size used during the build of the field. (See: rcConfig::borderSize)

Definition at line 312 of file Recast.h.

rcCompactCell* rcCompactHeightfield::cells

Array of cells. [Size: width*height].

Definition at line 319 of file Recast.h.

float rcCompactHeightfield::ch

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

Definition at line 318 of file Recast.h.

float rcCompactHeightfield::cs

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

Definition at line 317 of file Recast.h.

unsigned short* rcCompactHeightfield::dist

Array containing border distance data. [Size: spanCount].

Definition at line 321 of file Recast.h.

int rcCompactHeightfield::height

The height of the heightfield. (Along the z-axis in cell units.)

Definition at line 308 of file Recast.h.

unsigned short rcCompactHeightfield::maxDistance

The maximum distance value of any span within the field.

Definition at line 313 of file Recast.h.

unsigned short rcCompactHeightfield::maxRegions

The maximum region id of any span within the field.

Definition at line 314 of file Recast.h.

int rcCompactHeightfield::spanCount

The number of spans in the heightfield.

Definition at line 309 of file Recast.h.

rcCompactSpan* rcCompactHeightfield::spans

Array of spans. [Size: spanCount].

Definition at line 320 of file Recast.h.

int rcCompactHeightfield::walkableClimb

The walkable climb used during the build of the field. (See: rcConfig::walkableClimb)

Definition at line 311 of file Recast.h.

int rcCompactHeightfield::walkableHeight

The walkable height used during the build of the field. (See: rcConfig::walkableHeight)

Definition at line 310 of file Recast.h.

int rcCompactHeightfield::width

The width of the heightfield. (Along the x-axis in cell units.)

Definition at line 307 of file Recast.h.


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