summaryrefslogtreecommitdiff
path: root/indra/newview/llenvironment.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llenvironment.h')
-rw-r--r--indra/newview/llenvironment.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llenvironment.h b/indra/newview/llenvironment.h
index bbb5f45ad9..3a834963f3 100644
--- a/indra/newview/llenvironment.h
+++ b/indra/newview/llenvironment.h
@@ -54,6 +54,9 @@ public:
void updateShaderUniforms(LLGLSLShader *shader);
void addSky(const LLSettingsSky::ptr_t &sky);
+
+ inline LLVector2 getCloudScrollDelta() const { return mCloudScrollDelta; }
+
private:
static const F32 SUN_DELTA_YAW;
@@ -61,7 +64,7 @@ private:
typedef std::map<LLUUID, LLSettingsSky::ptr_t> AssetSkyMap_t;
LLVector4 mRotatedLight;
- LLVector2 mCloudScroll;
+ LLVector2 mCloudScrollDelta; // cumulative cloud delta
LLSettingsSky::ptr_t mCurrentSky;