From 815de4beff2ca31255c7fb937337602eb784ed67 Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Sun, 6 Mar 2022 10:59:29 +0100 Subject: Complete the parallel solver fix --- src/geometry/contact_pair.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/geometry') diff --git a/src/geometry/contact_pair.rs b/src/geometry/contact_pair.rs index cb70663..be12132 100644 --- a/src/geometry/contact_pair.rs +++ b/src/geometry/contact_pair.rs @@ -122,9 +122,6 @@ pub struct ContactManifoldData { pub rigid_body1: Option, /// The second rigid-body involved in this contact manifold. pub rigid_body2: Option, - // The two following are set by the constraints solver. - #[cfg_attr(feature = "serde-serialize", serde(skip))] - pub(crate) constraint_index: usize, // We put the following fields here to avoids reading the colliders inside of the // contact preparation method. /// Flags used to control some aspects of the constraints solver for this contact manifold. @@ -211,7 +208,6 @@ impl ContactManifoldData { Self { rigid_body1, rigid_body2, - constraint_index: 0, solver_flags, normal: Vector::zeros(), solver_contacts: Vec::new(), -- cgit