fix compilation of tests
This commit is contained in:
committed by
Sébastien Crozet
parent
9cb4f018c8
commit
a36f161ce6
@@ -660,7 +660,7 @@ mod test {
|
||||
let coh = colliders.insert_with_parent(co, hrb, &mut bodies);
|
||||
|
||||
let mut events = Vec::new();
|
||||
broad_phase.update(0.0, &mut colliders, &[coh], &[], &mut events);
|
||||
broad_phase.update(0.0, 0.0, &mut colliders, &bodies, &[coh], &[], &mut events);
|
||||
|
||||
bodies.remove(
|
||||
hrb,
|
||||
@@ -670,7 +670,7 @@ mod test {
|
||||
&mut multibody_joints,
|
||||
true,
|
||||
);
|
||||
broad_phase.update(0.0, &mut colliders, &[], &[coh], &mut events);
|
||||
broad_phase.update(0.0, 0.0, &mut colliders, &bodies, &[], &[coh], &mut events);
|
||||
|
||||
// Create another body.
|
||||
let rb = RigidBodyBuilder::dynamic().build();
|
||||
@@ -679,6 +679,6 @@ mod test {
|
||||
let coh = colliders.insert_with_parent(co, hrb, &mut bodies);
|
||||
|
||||
// Make sure the proxy handles is recycled properly.
|
||||
broad_phase.update(0.0, &mut colliders, &[coh], &[], &mut events);
|
||||
broad_phase.update(0.0, 0.0, &mut colliders, &bodies, &[coh], &[], &mut events);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ mod tests {
|
||||
let physics_hooks = ();
|
||||
|
||||
collision_pipeline.step(
|
||||
integration_parameters.prediction_distance,
|
||||
integration_parameters.prediction_distance(),
|
||||
&mut broad_phase,
|
||||
&mut narrow_phase,
|
||||
&mut rigid_body_set,
|
||||
@@ -253,7 +253,7 @@ mod tests {
|
||||
let physics_hooks = ();
|
||||
|
||||
collision_pipeline.step(
|
||||
integration_parameters.prediction_distance,
|
||||
integration_parameters.prediction_distance(),
|
||||
&mut broad_phase,
|
||||
&mut narrow_phase,
|
||||
&mut rigid_body_set,
|
||||
|
||||
Reference in New Issue
Block a user