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

Represents a span of unobstructed space within a compact heightfield. More...

#include <Recast.h>

Public Attributes

unsigned short y
 The lower extent of the span. (Measured from the heightfield's base.) More...
 
unsigned short reg
 The id of the region the span belongs to. (Or zero if not in a region.) More...
 
unsigned int con: 24
 Packed neighbor connection data. More...
 
unsigned int h: 8
 The height of the span. (Measured from y.) More...
 

Detailed Description

Represents a span of unobstructed space within a compact heightfield.

Member Data Documentation

unsigned int rcCompactSpan::con

Packed neighbor connection data.

unsigned int rcCompactSpan::h

The height of the span. (Measured from y.)

unsigned short rcCompactSpan::reg

The id of the region the span belongs to. (Or zero if not in a region.)

unsigned short rcCompactSpan::y

The lower extent of the span. (Measured from the heightfield's base.)


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