18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-24 13:09:16 +01:00

Merge branch 'master' into feat/renderers-cleanup

This commit is contained in:
2026-11-23 18:27:27 +01:00
70 changed files with 2865 additions and 378 deletions

View File

@@ -26,11 +26,12 @@ namespace {
float
turbidity_of( float const Overcast ) {
if( Overcast <= 0.10 ) { return 3.f; }
if( Overcast <= 0.20 ) { return 4.f; }
if( Overcast <= 0.40 ) { return 5.f; }
if( Overcast <= 0.60 ) { return 6.f; }
if( Overcast <= 0.70 ) { return 7.f; }
if( Overcast <= 0.80 ) { return 8.f; }
if( Overcast <= 0.60 ) { return 5.f; }
if( Overcast <= 0.70 ) { return 6.f; }
if( Overcast <= 0.80 ) { return 7.f; }
if( Overcast <= 0.90 ) { return 8.f; }
return 9.f;
}