|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <Physics3DContext.hpp>
Public Member Functions | |
| LayerMatrix () | |
| bool | collide (JPH::uint a, JPH::uint b) const |
Public Attributes | |
| JPH::uint32 | masks [Layers::COUNT] |
Per-layer masks: bit i of masks[l] means layer l wants to hear from layer i. Both sides must agree, so one of them saying no is enough — the same rule the 2D world's category/mask pair follows.
Definition at line 67 of file Physics3DContext.hpp.
|
inline |
Definition at line 69 of file Physics3DContext.hpp.
References masks.
|
inline |
Definition at line 70 of file Physics3DContext.hpp.
References esengine::physics3d::Layers::COUNT, and masks.
Referenced by esengine::physics3d::ObjectLayerPairFilterImpl::ShouldCollide().
| JPH::uint32 esengine::physics3d::LayerMatrix::masks[Layers::COUNT] |
Definition at line 68 of file Physics3DContext.hpp.
Referenced by LayerMatrix(), collide(), and physics3d_setLayerMask().