cut off star magnitude above 6.0 for brightness/size calculations

main
hut 2024-04-14 22:31:10 +02:00
parent 69fb360229
commit 3c317111d3
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ pub fn setup(
continue;
}
let is_sun = mag < -20.0;
let mag = mag.min(6.0);
let scale_color = {|color: f32|
if is_sun {
color * 13.0f32