Fix double vs float complaint from visual studio.
--HG-- branch : Chris-Rehor/fix-double-vs-float-complaint-from-visua-1561202648460meow-7.2.2
parent
e6a0896a46
commit
fe7bedd71d
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue