add comment

This commit is contained in:
yuni 2024-11-29 18:12:24 +01:00
parent 1241dd3231
commit d9306b57d6

View file

@ -381,6 +381,7 @@ fn update_atmosphere(
} else if x > 300000.0 {
0.0
} else {
// quadratic regression with [(-2e4, 1.0), (1e5, 0.9), (3e5, 1.0)]
(-(1.14583e-11) * x * x + (8.33333e-8) * x + 1.00625) as f32
};
if let Some(material) = materials.get_mut(material_handle) {