Тест физики: неиспользуемый счётчик (clippy)
Some checks are pending
CI / checks (push) Waiting to run
Some checks are pending
CI / checks (push) Waiting to run
This commit is contained in:
parent
ae36d3aea6
commit
07bc51e332
1 changed files with 1 additions and 1 deletions
|
|
@ -1228,7 +1228,7 @@ mod tests {
|
|||
// Как в физгане: без гравитации и без трения.
|
||||
physics.set_gravity_scale(body, 0.0);
|
||||
physics.set_body_friction(body, 0.0);
|
||||
for i in 0..60 {
|
||||
for _ in 0..60 {
|
||||
physics.set_velocity(body, Vec3::new(1200.0, 0.0, 0.0));
|
||||
physics.step(1.0 / 60.0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue