|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Functions | |
| static constexpr JPH::ObjectLayer | of (JPH::uint layer, bool moving) |
| static constexpr JPH::uint | indexOf (JPH::ObjectLayer layer) |
| static constexpr bool | isMoving (JPH::ObjectLayer layer) |
Variables | |
| static constexpr JPH::uint | COUNT = 16 |
| static constexpr JPH::ObjectLayer | OBJECT_LAYER_COUNT = COUNT * 2 |
|
staticconstexpr |
Definition at line 53 of file Physics3DContext.hpp.
Referenced by esengine::physics3d::ObjectLayerPairFilterImpl::ShouldCollide().
|
staticconstexpr |
|
staticconstexpr |
An ObjectLayer packs the layer index with whether the body moves: Jolt asks which broad-phase tree a layer belongs to, and a bare index cannot say.
Definition at line 50 of file Physics3DContext.hpp.
Referenced by physics3d_moveCharacter().
|
staticconstexpr |
How many collision layers a project can name. Sixteen, like the 2D world's mask bits, so a project describes its layers once for both.
Definition at line 47 of file Physics3DContext.hpp.
Referenced by esengine::physics3d::LayerMatrix::collide(), and physics3d_setLayerMask().
|
staticconstexpr |
Definition at line 55 of file Physics3DContext.hpp.