Remove the narrow-phase graph indices from the collider.

They are on the narrow-phase now.
This commit is contained in:
Crozet Sébastien
2020-11-19 11:07:00 +01:00
parent c641114f01
commit af39ec54d3
8 changed files with 235 additions and 101 deletions

View File

@@ -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,
);

View File

@@ -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,
);