faster better stronger
This commit is contained in:
parent
3d512db39b
commit
6938bcd2d0
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ fn setup(
|
||||||
let lower_bound = -100.;
|
let lower_bound = -100.;
|
||||||
let upper_bound = 100.;
|
let upper_bound = 100.;
|
||||||
|
|
||||||
for i in 0..100 {
|
for i in 0..1000 {
|
||||||
use std::f32::consts::TAU;
|
use std::f32::consts::TAU;
|
||||||
|
|
||||||
let x = small_rng.gen_range(lower_bound..=upper_bound);
|
let x = small_rng.gen_range(lower_bound..=upper_bound);
|
||||||
|
@ -95,7 +95,7 @@ fn setup(
|
||||||
.with_translation(Vec3::new(x, y, 0.)),
|
.with_translation(Vec3::new(x, y, 0.)),
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
velocity: Velocity(Vec2::from_angle(angle) * 100.),
|
velocity: Velocity(Vec2::from_angle(angle) * 200.),
|
||||||
..default()
|
..default()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue