remove debug output

This commit is contained in:
yuni 2024-04-02 16:19:49 +02:00
parent cdb7007e41
commit 1498d95b5b

View file

@ -245,7 +245,6 @@ fn spawn_despawn_asteroids(
// Density based on radius and the vertical distance to the ring // Density based on radius and the vertical distance to the ring
let normalized_distance = player.y / (RING_THICKNESS / 2.0); let normalized_distance = player.y / (RING_THICKNESS / 2.0);
let density = density_r * (-4.0 * normalized_distance.powf(2.0)).exp() as f32; let density = density_r * (-4.0 * normalized_distance.powf(2.0)).exp() as f32;
dbg!(normalized_distance, density_r, density);
if density < 0.001 { if density < 0.001 {
return; return;
} }