From 8a2532ee55fb1c1bf78318e954bd25a0853cc2e3 Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Mon, 25 Jun 2018 19:22:04 +0100 Subject: Clean up spaces vs tabs to match sim side code. --- indra/llinventory/llsettingssky.cpp | 11 +++++------ 1 file 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; -- cgit v1.2.3