Fix tests

This commit is contained in:
Sébastien Crozet
2022-12-11 15:50:25 +01:00
parent 6f866329a6
commit cb9350fd80
3 changed files with 6 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ pub fn init_world(testbed: &mut Testbed) {
*/ */
let mut bodies = RigidBodySet::new(); let mut bodies = RigidBodySet::new();
let mut colliders = ColliderSet::new(); let mut colliders = ColliderSet::new();
let mut impulse_joints = ImpulseJointSet::new(); let impulse_joints = ImpulseJointSet::new();
let multibody_joints = MultibodyJointSet::new(); let multibody_joints = MultibodyJointSet::new();
/* /*

View File

@@ -203,6 +203,7 @@ mod tests {
&mut narrow_phase, &mut narrow_phase,
&mut rigid_body_set, &mut rigid_body_set,
&mut collider_set, &mut collider_set,
None,
&physics_hooks, &physics_hooks,
&(), &(),
); );
@@ -254,6 +255,7 @@ mod tests {
&mut narrow_phase, &mut narrow_phase,
&mut rigid_body_set, &mut rigid_body_set,
&mut collider_set, &mut collider_set,
None,
&physics_hooks, &physics_hooks,
&(), &(),
); );

View File

@@ -677,6 +677,7 @@ mod test {
&mut impulse_joints, &mut impulse_joints,
&mut multibody_joints, &mut multibody_joints,
&mut CCDSolver::new(), &mut CCDSolver::new(),
None,
&(), &(),
&(), &(),
); );
@@ -732,6 +733,7 @@ mod test {
&mut impulse_joints, &mut impulse_joints,
&mut multibody_joints, &mut multibody_joints,
&mut CCDSolver::new(), &mut CCDSolver::new(),
None,
&(), &(),
&(), &(),
); );
@@ -834,6 +836,7 @@ mod test {
&mut impulse_joints, &mut impulse_joints,
&mut multibody_joints, &mut multibody_joints,
&mut ccd, &mut ccd,
None,
&physics_hooks, &physics_hooks,
&event_handler, &event_handler,
); );