summaryrefslogtreecommitdiff
path: root/indra/newview/llsky.h
diff options
context:
space:
mode:
authorGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-05-22 21:42:54 +0100
committerGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-05-22 21:42:54 +0100
commit13536bb273b7413aa4461c8eeaf5a6a865f4234d (patch)
tree62dd3daf2dad884b40ae440d4c11cafb3656c170 /indra/newview/llsky.h
parentae5f24eb4d8a215cc26ef45ababc6ddec8f28edb (diff)
Remove some obsolete sky funcs.
Remove Matrix3/4 funcs using LLQuat 4-float init incorrectly (they are redundant to angle/axis versions anyway). Fix up tests referring to removed funcs above.
Diffstat (limited to 'indra/newview/llsky.h')
-rw-r--r--indra/newview/llsky.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/indra/newview/llsky.h b/indra/newview/llsky.h
index 27029b254b..8b4f91b7d7 100644
--- a/indra/newview/llsky.h
+++ b/indra/newview/llsky.h
@@ -63,8 +63,6 @@ public:
void updateCull();
void updateSky();
- void propagateHeavenlyBodies(F32 dt); // dt = seconds
-
S32 mLightingGeneration;
BOOL mUpdatedThisFrame;
@@ -81,8 +79,8 @@ public:
LLColor4 getTotalAmbientColor() const;
BOOL sunUp() const;
- F32 getSunPhase() const;
- void setSunPhase(const F32 phase);
+ // Legacy
+ void setSunPhase(const F32) { }
void destroyGL();
void restoreGL();
@@ -91,17 +89,11 @@ public:
public:
LLPointer<LLVOSky> mVOSkyp; // Pointer to the LLVOSky object (only one, ever!)
LLPointer<LLVOGround> mVOGroundp;
-
LLPointer<LLVOWLSky> mVOWLSkyp;
- // Legacy stuff
- LLVector3 mSunDefaultPosition;
-
protected:
- F32 mSunPhase;
- LLColor4 mFogColor; // Color to use for fog and haze
-
+ LLColor4 mFogColor;
};
-extern LLSky gSky;
+extern LLSky gSky;
#endif