summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingssky.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-06-01 23:32:30 +0100
committerGraham Linden <graham@lindenlab.com>2018-06-01 23:32:30 +0100
commit8cfdc07e790a557e881fadaa1b6258e5b16751f4 (patch)
treea792d0e6f03886f4a3d8f064811fdcbbf2ce1a61 /indra/llinventory/llsettingssky.cpp
parent8dd85013865cc5b426234cd71b605d7208bcfe01 (diff)
Code cleanup and move to using typedefs of S64Seconds/F64Seconds for ease in sync w/ sim side which has not llunits types.
Diffstat (limited to 'indra/llinventory/llsettingssky.cpp')
-rw-r--r--indra/llinventory/llsettingssky.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp
index 6c5ed8f12b..b6320e0942 100644
--- a/indra/llinventory/llsettingssky.cpp
+++ b/indra/llinventory/llsettingssky.cpp
@@ -790,7 +790,7 @@ bool LLSettingsSky::getIsMoonUp() const
return moonDir.mV[2] > NIGHTTIME_ELEVATION_SIN;
}
-void LLSettingsSky::calculateHeavnlyBodyPositions() const
+void LLSettingsSky::calculateHeavenlyBodyPositions() const
{
if (!mPositionsDirty)
{
@@ -811,7 +811,7 @@ void LLSettingsSky::calculateHeavnlyBodyPositions() const
LLVector3 LLSettingsSky::getLightDirection() const
{
- calculateHeavnlyBodyPositions();
+ calculateHeavenlyBodyPositions();
// is the normal from the sun or the moon
if (getIsSunUp())
@@ -955,13 +955,13 @@ LLColor3 LLSettingsSky::gammaCorrect(const LLColor3& in) const
LLVector3 LLSettingsSky::getSunDirection() const
{
- calculateHeavnlyBodyPositions();
+ calculateHeavenlyBodyPositions();
return mSunDirection;
}
LLVector3 LLSettingsSky::getMoonDirection() const
{
- calculateHeavnlyBodyPositions();
+ calculateHeavenlyBodyPositions();
return mMoonDirection;
}
@@ -1008,7 +1008,7 @@ void LLSettingsSky::calculateLightSettings() const
return;
}
- calculateHeavnlyBodyPositions();
+ calculateHeavenlyBodyPositions();
mLightingDirty = false;