ncollide3d::pipeline::glue

Function perform_all_pipeline

Source
pub fn perform_all_pipeline<'a, N, Objects>(
    objects: &Objects,
    broad_phase: &mut (impl BroadPhase<N, AABB<N>, Objects::CollisionObjectHandle> + ?Sized),
    narrow_phase: &mut NarrowPhase<N, Objects::CollisionObjectHandle>,
    interactions: &mut InteractionGraph<N, Objects::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.