diff options
author | Graham Linden <graham@lindenlab.com> | 2019-08-14 09:15:17 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-08-14 09:15:17 -0700 |
commit | 886fe3eefc8688df206e7b397a6b9438c7492f5f (patch) | |
tree | 1851859f1fb2498bcd89a080d53620e77b9dc68f /indra/newview/llvosky.h | |
parent | 7a64e8f8bfeff17d6a5385a6c39f1056214cb59f (diff) | |
parent | 2207dc0e610c1bf18f04620bc216e0da71762237 (diff) |
Merge
Diffstat (limited to 'indra/newview/llvosky.h')
-rw-r--r-- | indra/newview/llvosky.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llvosky.h b/indra/newview/llvosky.h index 8c2817e1ed..5f27085599 100644 --- a/indra/newview/llvosky.h +++ b/indra/newview/llvosky.h @@ -57,13 +57,8 @@ private: LLColor4 *mSkyData; LLVector3 *mSkyDirs; // Cache of sky direction vectors static S32 sCurrent; - static F32 sInterpVal; public: - static F32 getInterpVal() { return sInterpVal; } - static void setInterpVal(const F32 v) { sInterpVal = v; } - static BOOL doInterpolate() { return sInterpVal > 0.001f; } - void bindTexture(BOOL curr = TRUE); protected: @@ -299,6 +294,8 @@ public: LLFace *mFace[FACE_COUNT]; LLVector3 mBumpSunDir; + F32 getInterpVal() const { return mInterpVal; } + protected: ~LLVOSky(); |