From 66920f44e9bde66bb000185923994e8cc5d5972e Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 1 May 2024 03:52:08 +0200 Subject: [PATCH] fewer asteroids (for performance reasons, due to shadows) --- src/world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world.rs b/src/world.rs index e53b9c8..b75c374 100644 --- a/src/world.rs +++ b/src/world.rs @@ -27,7 +27,7 @@ const STARS_MAX_MAGNITUDE: f32 = 5.5; // max 7.0, see generate_starchart.py const SKYBOX: bool = false; -const ASTEROID_SPAWN_STEP: f64 = 500.0; +const ASTEROID_SPAWN_STEP: f64 = 1000.0; const ASTEROID_VIEW_RADIUS: f64 = 3000.0; const ASSET_NAME_ASTEROID1: &str = "asteroid1";