Constants for HeightFieldShape, this was moved out of the HeightFieldShape because of a linker bug.
More...
Constants for HeightFieldShape, this was moved out of the HeightFieldShape because of a linker bug.
◆ cLevelShift
◆ cMaskBitsXY
◆ cMaxHeightValue16
uint16 HeightFieldShapeConstants::cMaxHeightValue16 = 0xfffe |
|
constexpr |
This is the maximum allowed height value.
◆ cNoCollisionValue
float HeightFieldShapeConstants::cNoCollisionValue = FLT_MAX |
|
constexpr |
Value used to create gaps in the height field.
◆ cNoCollisionValue16
uint16 HeightFieldShapeConstants::cNoCollisionValue16 = 0xffff |
|
constexpr |
When height samples are converted to 16 bit:
This is the magic value for 'no collision'
◆ cNumBitsXY
uint HeightFieldShapeConstants::cNumBitsXY = 14 |
|
constexpr |
A position in the hierarchical grid is defined by a level (which grid), x and y position. We encode this in a single uint32 as: level << 28 | y << 14 | x.
◆ cStackSize
int HeightFieldShapeConstants::cStackSize = 128 |
|
constexpr |
Stack size to use during WalkHeightField.