Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
HeightFieldShape.h File Reference

Go to the source code of this file.

Classes

class  HeightFieldShapeSettings
 Class that constructs a HeightFieldShape. More...
 
class  HeightFieldShape
 A height field shape. Cannot be used as a dynamic object. More...
 

Namespaces

namespace  HeightFieldShapeConstants
 Constants for HeightFieldShape, this was moved out of the HeightFieldShape because of a linker bug.
 

Variables

constexpr float HeightFieldShapeConstants::cNoCollisionValue = FLT_MAX
 Value used to create gaps in the height field. More...
 
constexpr int HeightFieldShapeConstants::cStackSize = 128
 Stack size to use during WalkHeightField. More...
 
constexpr uint HeightFieldShapeConstants::cNumBitsXY = 14
 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. More...
 
constexpr uint HeightFieldShapeConstants::cMaskBitsXY = (1 << cNumBitsXY) - 1
 
constexpr uint HeightFieldShapeConstants::cLevelShift = 2 * cNumBitsXY
 
constexpr uint16 HeightFieldShapeConstants::cNoCollisionValue16 = 0xffff
 When height samples are converted to 16 bit: More...
 
constexpr uint16 HeightFieldShapeConstants::cMaxHeightValue16 = 0xfffe
 This is the maximum allowed height value. More...