Jolt Physics
A multi core friendly Game Physics Engine
|
#include <BroadPhaseLayerInterfaceMask.h>
BroadPhaseLayerInterface implementation. This defines a mapping between object and broadphase layers. This implementation works together with ObjectLayerPairFilterMask and ObjectVsBroadPhaseLayerFilterMask. A broadphase layer is suitable for an object if its group & inGroupsToInclude is not zero and its group & inGroupsToExclude is zero. The broadphase layers are iterated from lowest to highest value and the first one that matches is taken. If none match then it takes the last layer.
|
inlineexplicit |
|
inline |
|
inlineoverridevirtual |
Convert an object layer to the corresponding broadphase layer.
Implements BroadPhaseLayerInterface.
|
inlineoverridevirtual |
Get the user readable name of a broadphase layer (debugging purposes)
Implements BroadPhaseLayerInterface.
Return the number of broadphase layers there are.
Implements BroadPhaseLayerInterface.
|
inline |
|
inline |
Returns true if an object layer should collide with a broadphase layer, this function is being called from ObjectVsBroadPhaseLayerFilterMask.