aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-11-19 11:07:00 +0100
committerCrozet Sébastien <developer@crozet.re>2020-11-23 15:56:53 +0100
commitaf39ec54d35b8c3777add6b6a597e5963067234d (patch)
tree74663c3763e0d7e2f56b375ca46ae0c00942fbec /src/pipeline
parentc641114f016c47f6b22acc084610847f88ff5a66 (diff)
downloadrapier-af39ec54d35b8c3777add6b6a597e5963067234d.tar.gz
rapier-af39ec54d35b8c3777add6b6a597e5963067234d.tar.bz2
rapier-af39ec54d35b8c3777add6b6a597e5963067234d.zip
Remove the narrow-phase graph indices from the collider.
They are on the narrow-phase now.
Diffstat (limited to 'src/pipeline')
-rw-r--r--src/pipeline/collision_pipeline.rs2
-rw-r--r--src/pipeline/physics_pipeline.rs2
2 files changed, 2 insertions, 2 deletions
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,
);