TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
rcHeightfield Struct Reference

#include <Recast.h>

Public Attributes

int width
 The width of the heightfield. (Along the x-axis in cell units.) More...
 
int height
 The height of the heightfield. (Along the z-axis in cell units.) 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...
 
rcSpan ** spans
 Heightfield of spans (width*height). More...
 
rcSpanPoolpools
 Linked list of span pools. More...
 
rcSpanfreelist
 The next free span. More...
 

Detailed Description

A dynamic heightfield representing obstructed space.

Member Data Documentation

float rcHeightfield::bmax[3]

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

float rcHeightfield::bmin[3]

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

float rcHeightfield::ch

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

float rcHeightfield::cs

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

rcSpan* rcHeightfield::freelist

The next free span.

int rcHeightfield::height

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

rcSpanPool* rcHeightfield::pools

Linked list of span pools.

rcSpan** rcHeightfield::spans

Heightfield of spans (width*height).

int rcHeightfield::width

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


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