Class BroadphaseUniformGridNoCaching¶
Defined in File broadphaseuniformgridnocaching.hpp
Inheritance Relationships¶
Base Type¶
public legion::physics::BroadPhaseCollisionAlgorithm
(Class BroadPhaseCollisionAlgorithm)
Class Documentation¶
-
class
legion::physics
::
BroadphaseUniformGridNoCaching
: public legion::physics::BroadPhaseCollisionAlgorithm¶ Public Functions
-
inline
BroadphaseUniformGridNoCaching
(math::ivec3 cellSize)¶
-
virtual const std::vector<std::vector<physics_manifold_precursor>> &
collectPairs
(std::vector<physics_manifold_precursor> &&manifoldPrecursors) override¶ Collects collider pairs that have a chance of colliding and should be checked in narrow-phase collision detection.
- Parameters
manifoldPrecursors
: all the physics componentsmanifoldPrecursorGrouping
: a list-list of colliders that have a chance of colliding and should be checked
-
inline void
setCellSize
(math::ivec3 cellSize)¶ Sets the cell size which will be used for the virtual grid.
-
inline