Fix tests
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -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,
|
||||||
&(),
|
&(),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -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,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user