diff options
author | Graham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com> | 2018-05-18 00:23:58 +0100 |
---|---|---|
committer | Graham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com> | 2018-05-18 00:23:58 +0100 |
commit | 39fb9cc9b4221b6fb715e9f59ae5512b76baa1ba (patch) | |
tree | d2cf42f594a8346c5dd6cf7c0de1ac6b32a511b8 /indra/newview/lllegacyatmospherics.h | |
parent | 4d4a7dfb9f28007c2ceb53668d065bbe0fa332af (diff) |
Fix Mie Config validation in sky settings.
Start cleanup of heavenly body rendering.
Diffstat (limited to 'indra/newview/lllegacyatmospherics.h')
-rw-r--r-- | indra/newview/lllegacyatmospherics.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/lllegacyatmospherics.h b/indra/newview/lllegacyatmospherics.h index 5a5b9c0022..83250ee50b 100644 --- a/indra/newview/lllegacyatmospherics.h +++ b/indra/newview/lllegacyatmospherics.h @@ -43,11 +43,10 @@ // Will clean these up at some point... // -const F32 HORIZON_DIST = 1024.0f; -const F32 EARTH_RADIUS = 6.4e6f; // exact radius = 6.37 x 10^6 m -const F32 ATM_EXP_FALLOFF = 0.000126f; +const F32 HORIZON_DIST = 1024.0f; +const F32 ATM_EXP_FALLOFF = 0.000126f; const F32 ATM_SEA_LEVEL_NDENS = 2.55e25f; -const F32 ATM_HEIGHT = 100000.f; +const F32 ATM_HEIGHT = 100000.f; // constants used in calculation of scattering coeff of clear air const F32 sigma = 0.035f; |