Small refactoring of the PhysicsPipeline.

This commit is contained in:
Crozet Sébastien
2021-03-28 11:54:33 +02:00
parent 7306821c46
commit dec3e4197f
2 changed files with 92 additions and 33 deletions

View File

@@ -647,7 +647,7 @@ impl NarrowPhase {
/// Retrieve all the interactions with at least one contact point, happening between two active bodies.
// NOTE: this is very similar to the code from JointSet::select_active_interactions.
pub(crate) fn sort_and_select_active_contacts<'a>(
pub(crate) fn select_active_contacts<'a>(
&'a mut self,
bodies: &RigidBodySet,
out_manifolds: &mut Vec<&'a mut ContactManifold>,