From af39ec54d35b8c3777add6b6a597e5963067234d Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Thu, 19 Nov 2020 11:07:00 +0100 Subject: Remove the narrow-phase graph indices from the collider. They are on the narrow-phase now. --- src/pipeline/collision_pipeline.rs | 2 +- src/pipeline/physics_pipeline.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pipeline') diff --git a/src/pipeline/collision_pipeline.rs b/src/pipeline/collision_pipeline.rs index b8896e8..845bb86 100644 --- a/src/pipeline/collision_pipeline.rs +++ b/src/pipeline/collision_pipeline.rs @@ -74,7 +74,7 @@ impl CollisionPipeline { bodies.update_active_set_with_contacts( colliders, - narrow_phase.contact_graph(), + narrow_phase, self.empty_joints.joint_graph(), 0, ); diff --git a/src/pipeline/physics_pipeline.rs b/src/pipeline/physics_pipeline.rs index 0720ff1..3a4851d 100644 --- a/src/pipeline/physics_pipeline.rs +++ b/src/pipeline/physics_pipeline.rs @@ -130,7 +130,7 @@ impl PhysicsPipeline { self.counters.stages.island_construction_time.start(); bodies.update_active_set_with_contacts( colliders, - narrow_phase.contact_graph(), + narrow_phase, joints.joint_graph(), integration_parameters.min_island_size, ); -- cgit