Drop light count to avoid panic.
There was a fix in the git version for this panic, but not in the latest release yet.
This commit is contained in:
parent
5e41ed0112
commit
2bd9506ca2
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ fn spawn_moving_lights(
|
|||
) {
|
||||
let rng = &mut thread_rng();
|
||||
// spawn orbiting bisexual lights
|
||||
for _ in 0..511 {
|
||||
for _ in 0..255 {
|
||||
// mechanics
|
||||
let axis = crate::random_unit_vec(rng);
|
||||
let angle = rng.gen_range(0.0..TAU);
|
||||
|
|
Loading…
Reference in a new issue