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:
Joe Ardent 2022-01-26 14:26:02 -08:00
parent 5e41ed0112
commit 2bd9506ca2

View file

@ -23,7 +23,7 @@ fn spawn_moving_lights(
) { ) {
let rng = &mut thread_rng(); let rng = &mut thread_rng();
// spawn orbiting bisexual lights // spawn orbiting bisexual lights
for _ in 0..511 { for _ in 0..255 {
// mechanics // mechanics
let axis = crate::random_unit_vec(rng); let axis = crate::random_unit_vec(rng);
let angle = rng.gen_range(0.0..TAU); let angle = rng.gen_range(0.0..TAU);