Fix the testbed.

This commit is contained in:
Crozet Sébastien
2020-11-24 16:42:17 +01:00
parent d98be2359d
commit fcafcac66f

View File

@@ -1618,7 +1618,7 @@ Hashes at frame: {}
} }
fn draw_contacts(window: &mut Window, nf: &NarrowPhase, colliders: &ColliderSet) { fn draw_contacts(window: &mut Window, nf: &NarrowPhase, colliders: &ColliderSet) {
for (_, _, pair) in nf.contact_graph().interaction_pairs() { for pair in nf.contact_pairs() {
for manifold in &pair.manifolds { for manifold in &pair.manifolds {
for pt in manifold.all_contacts() { for pt in manifold.all_contacts() {
let color = if pt.dist > 0.0 { let color = if pt.dist > 0.0 {