diff options
author | Graham Linden <graham@lindenlab.com> | 2019-03-29 07:58:45 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-03-29 07:58:45 -0700 |
commit | 4490399cc5fe944fff2e81d9ba134ab0447cd9a1 (patch) | |
tree | 1667d15cc2e32249ef3b602bf7aaf42b44ba5430 /indra/llinventory/llsettingssky.cpp | |
parent | 823172cab99c55b1c26b523d7dd63a99ece9f6cb (diff) |
Fix windows line endings.
Diffstat (limited to 'indra/llinventory/llsettingssky.cpp')
-rw-r--r-- | indra/llinventory/llsettingssky.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp index 0010e62658..9211a48a8e 100644 --- a/indra/llinventory/llsettingssky.cpp +++ b/indra/llinventory/llsettingssky.cpp @@ -1300,7 +1300,7 @@ void LLSettingsSky::calculateLightSettings() const LLColor3 moonlight_a(0.66, 0.66, 0.66); LLColor3 moonlight_b(0.66, 0.66, 1.0); - LLColor3 moonlight = lerp(moonlight_b, moonlight_a, moon_brightness);
+ LLColor3 moonlight = lerp(moonlight_b, moonlight_a, moon_brightness); mMoonDiffuse = gammaCorrect(componentMult(moonlight, light_transmittance) * moon_brightness * 0.25f); mMoonAmbient = gammaCorrect(componentMult(moonlight_b, light_transmittance) * 0.0125f); |