12#include <Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h>
13#include <Jolt/Physics/Collision/ObjectLayer.h>
37 switch ((JPH::BroadPhaseLayer::Type) inLayer)
41 default: JPH_ASSERT(
false);
return "INVALID";
BPLayerInterfaceImpl()
Definition BroadPhaseLayerImpl.hpp:20
std::array< JPH::BroadPhaseLayer, Layers::NUM_LAYERS > _objectToBroadPhase
Definition BroadPhaseLayerImpl.hpp:46
virtual JPH::BroadPhaseLayer GetBroadPhaseLayer(JPH::ObjectLayer inLayer) const override
Definition BroadPhaseLayerImpl.hpp:29
virtual JPH::uint GetNumBroadPhaseLayers() const override
Definition BroadPhaseLayerImpl.hpp:27
const char * GetBroadPhaseLayerName(JPH::BroadPhaseLayer inLayer) const override
Definition BroadPhaseLayerImpl.hpp:35
static constexpr JPH::BroadPhaseLayer NON_MOVING(0)
static constexpr JPH::uint NUM_LAYERS(2)
static constexpr JPH::BroadPhaseLayer MOVING(1)
static constexpr JPH::ObjectLayer NUM_LAYERS
Definition Layers.hpp:13
static constexpr JPH::ObjectLayer MOVING
Definition Layers.hpp:12
static constexpr JPH::ObjectLayer NON_MOVING
Definition Layers.hpp:11