Function heron::rapier_plugin::rapier::ncollide::pipeline::glue::perform_broad_phase [−][src]
pub fn perform_broad_phase<N, Objects>(
objects: &Objects,
broad_phase: &mut impl BroadPhase<N, AABB<N>, <Objects as CollisionObjectSet<N>>::CollisionObjectHandle>,
narrow_phase: &mut NarrowPhase<N, <Objects as CollisionObjectSet<N>>::CollisionObjectHandle>,
interactions: &mut InteractionGraph<N, <Objects as CollisionObjectSet<N>>::CollisionObjectHandle>,
pair_filters: Option<&impl BroadPhasePairFilter<N, Objects>>
) where
N: RealField,
Objects: CollisionObjectSet<N>,
Performs the broad-phase.
This will update the broad-phase internal structure, and create potential interaction pairs in the interaction graph.
A pair_filters
can be provided to filter out pairs of object that should not be considered.