Function oxygengine_physics_2d::prelude::ncollide2d::pipeline::glue::perform_all_pipeline
source · pub fn perform_all_pipeline<N, Objects, 'a>(
objects: &Objects,
broad_phase: &mut (impl BroadPhase<N, AABB<N>, <Objects as CollisionObjectSet<N>>::CollisionObjectHandle> + ?Sized),
narrow_phase: &mut NarrowPhase<N, <Objects as CollisionObjectSet<N>>::CollisionObjectHandle>,
interactions: &mut InteractionGraph<N, <Objects as CollisionObjectSet<N>>::CollisionObjectHandle>,
pair_filters: Option<&'a (impl BroadPhasePairFilter<N, Objects> + ?Sized)>
)where
N: RealField + Copy,
Objects: CollisionObjectSet<N>,
Expand description
Performs the broad-phase and the narrow-phase.
This execute a complete collision detection pipeline by performing the broad-phase first and then the narrow-phase.