summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-06-25 19:22:04 +0100
committerGraham Linden <graham@lindenlab.com>2018-06-25 19:22:04 +0100
commit8a2532ee55fb1c1bf78318e954bd25a0853cc2e3 (patch)
tree7d6620abf6426c88238f091174fe9b0e87f12490 /indra/llinventory
parent8b2d5cb6867657e98e1fd1c9e4f209e952c59474 (diff)
Clean up spaces vs tabs to match sim side code.
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/llsettingssky.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp
index b1868fb50e..ad863b5671 100644
--- a/indra/llinventory/llsettingssky.cpp
+++ b/indra/llinventory/llsettingssky.cpp
@@ -38,15 +38,14 @@ static const F32 NIGHTTIME_ELEVATION_SIN = (F32)sinf(NIGHTTIME_ELEVATION * DEG_T
static LLQuaternion convert_azimuth_and_altitude_to_quat(F32 azimuth, F32 altitude)
{
-
- F32 sinTheta = sin(azimuth);
- F32 cosTheta = cos(azimuth);
- F32 sinPhi = sin(altitude);
- F32 cosPhi = cos(altitude);
+ F32 sinTheta = sin(azimuth);
+ F32 cosTheta = cos(azimuth);
+ F32 sinPhi = sin(altitude);
+ F32 cosPhi = cos(altitude);
LLVector3 dir;
// +x right, +z up, +y at...
- dir.mV[0] = cosTheta * cosPhi;
+ dir.mV[0] = cosTheta * cosPhi;
dir.mV[1] = sinTheta * cosPhi;
dir.mV[2] = sinPhi;