Fix double vs float complaint from visual studio.

--HG--
branch : Chris-Rehor/fix-double-vs-float-complaint-from-visua-1561202648460
meow-7.2.2
Chris Rehor 2019-06-22 11:25:41 +00:00
parent e6a0896a46
commit fe7bedd71d
1 changed files with 2 additions and 2 deletions

View File

@ -1249,8 +1249,8 @@ LLColor4 LLSettingsSky::getTotalAmbient() const
LLColor3 LLSettingsSky::getMoonlightColor() const
{
F32 moon_brightness = getIsMoonUp() ? getMoonBrightness() : 0.001f;
LLColor3 moonlight_a(0.9, 0.9, 1.32);
LLColor3 moonlight_b(0.66, 0.66, 2.0);
LLColor3 moonlight_a(0.9f, 0.9f, 1.32f);
LLColor3 moonlight_b(0.66f, 0.66f, 2.0f);
LLColor3 moonlight = lerp(moonlight_b, moonlight_a, moon_brightness);
return moonlight;
}