![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
#include <Jolt/Physics/Collision/Shape/Shape.h>#include <Jolt/Physics/Collision/PhysicsMaterial.h>#include <Jolt/Renderer/DebugRenderer.h>Go to the source code of this file.
Classes | |
| class | HeightFieldShapeSettings |
| Class that constructs a HeightFieldShape. More... | |
| class | HeightFieldShape |
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. | |
| constexpr int | HeightFieldShapeConstants::cStackSize = 128 |
| Stack size to use during WalkHeightField. | |
| 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. | |
| 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: | |
| constexpr uint16 | HeightFieldShapeConstants::cMaxHeightValue16 = 0xfffe |
| This is the maximum allowed height value. | |