clippy: Fix clippy::field_reassign_with_default lints (#690)
This commit is contained in:
@@ -969,8 +969,10 @@ mod test {
|
|||||||
.local_anchor2(point![0.0, -3.0, 0.0]);
|
.local_anchor2(point![0.0, -3.0, 0.0]);
|
||||||
impulse_joints.insert(h, h_dynamic, joint, true);
|
impulse_joints.insert(h, h_dynamic, joint, true);
|
||||||
|
|
||||||
let mut parameters = IntegrationParameters::default();
|
let parameters = IntegrationParameters {
|
||||||
parameters.dt = 0.0;
|
dt: 0.0,
|
||||||
|
..Default::default()
|
||||||
|
};
|
||||||
// Step once
|
// Step once
|
||||||
let gravity = Vector::y() * -9.81;
|
let gravity = Vector::y() * -9.81;
|
||||||
pipeline.step(
|
pipeline.step(
|
||||||
|
|||||||
Reference in New Issue
Block a user