diff options
author | Graham Linden <graham@lindenlab.com> | 2018-06-25 19:22:04 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-06-25 19:22:04 +0100 |
commit | 8a2532ee55fb1c1bf78318e954bd25a0853cc2e3 (patch) | |
tree | 7d6620abf6426c88238f091174fe9b0e87f12490 /indra/llinventory | |
parent | 8b2d5cb6867657e98e1fd1c9e4f209e952c59474 (diff) |
Clean up spaces vs tabs to match sim side code.
Diffstat (limited to 'indra/llinventory')
-rw-r--r-- | indra/llinventory/llsettingssky.cpp | 11 |
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; |