From d9306b57d6fe52fb509525173b6688e5be970eb2 Mon Sep 17 00:00:00 2001 From: yuni Date: Fri, 29 Nov 2024 18:12:24 +0100 Subject: [PATCH] add comment --- src/visual.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/visual.rs b/src/visual.rs index 34a786a..5f02eee 100644 --- a/src/visual.rs +++ b/src/visual.rs @@ -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) {