Start fixing the parallel version.

This commit is contained in:
Sébastien Crozet
2022-02-20 12:56:13 +01:00
committed by Sébastien Crozet
parent fb20d72ee2
commit 412fedf7e3
11 changed files with 454 additions and 170 deletions

View File

@@ -15,6 +15,5 @@ pub struct ImpulseJoint {
// A joint needs to know its handle to simplify its removal.
pub(crate) handle: ImpulseJointHandle,
#[cfg(feature = "parallel")]
pub(crate) constraint_index: usize,
}

View File

@@ -187,7 +187,6 @@ impl ImpulseJointSet {
data,
impulses: na::zero(),
handle: ImpulseJointHandle(handle),
#[cfg(feature = "parallel")]
constraint_index: 0,
};