aboutsummaryrefslogtreecommitdiff
path: root/src/geometry
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-03-06 10:59:29 +0100
committerSébastien Crozet <sebastien@crozet.re>2022-03-20 21:49:16 +0100
commit815de4beff2ca31255c7fb937337602eb784ed67 (patch)
tree82b93d1fcad98f9a9a6732e2cc0208f8a44fe67b /src/geometry
parent2e6f133b95b614f13445722e54f28105d9664841 (diff)
downloadrapier-815de4beff2ca31255c7fb937337602eb784ed67.tar.gz
rapier-815de4beff2ca31255c7fb937337602eb784ed67.tar.bz2
rapier-815de4beff2ca31255c7fb937337602eb784ed67.zip
Complete the parallel solver fix
Diffstat (limited to 'src/geometry')
-rw-r--r--src/geometry/contact_pair.rs4
1 files changed, 0 insertions, 4 deletions
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<RigidBodyHandle>,
/// The second rigid-body involved in this contact manifold.
pub rigid_body2: Option<RigidBodyHandle>,
- // 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(),