Recast Navigation  1.0.35
rcSpan Struct Reference

Represents a span in a heightfield. More...

#include <Recast.h>

Public Attributes

unsigned int smin: RC_SPAN_HEIGHT_BITS
 The lower limit of the span. [Limit: < smax]. More...
 
unsigned int smax: RC_SPAN_HEIGHT_BITS
 The upper limit of the span. [Limit: <= RC_SPAN_MAX_HEIGHT]. More...
 
navAreaMask areaMask
 The area assigned to the span. More...
 
rcSpannext
 The next span higher up in column. More...
 

Static Public Attributes

static const int RC_SPAN_HEIGHT_BITS = 16
 Defines the number of bits allocated to rcSpan::smin and rcSpan::smax. More...
 
static const int RC_SPAN_MAX_HEIGHT = (1 << RC_SPAN_HEIGHT_BITS) - 1
 Defines the maximum value for rcSpan::smin and rcSpan::smax. More...
 

Description

Represents a span in a heightfield.

See also
rcHeightfield

Member Data Documentation

navAreaMask rcSpan::areaMask

The area assigned to the span.

rcSpan* rcSpan::next

The next span higher up in column.

const int rcSpan::RC_SPAN_HEIGHT_BITS = 16
static

Defines the number of bits allocated to rcSpan::smin and rcSpan::smax.

const int rcSpan::RC_SPAN_MAX_HEIGHT = (1 << RC_SPAN_HEIGHT_BITS) - 1
static

Defines the maximum value for rcSpan::smin and rcSpan::smax.

unsigned int rcSpan::smax

The upper limit of the span. [Limit: <= RC_SPAN_MAX_HEIGHT].

unsigned int rcSpan::smin

The lower limit of the span. [Limit: < smax].


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