aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwaterparammanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llwaterparammanager.h')
-rw-r--r--linden/indra/newview/llwaterparammanager.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/linden/indra/newview/llwaterparammanager.h b/linden/indra/newview/llwaterparammanager.h
index ad40c12..6c9ce3e 100644
--- a/linden/indra/newview/llwaterparammanager.h
+++ b/linden/indra/newview/llwaterparammanager.h
@@ -315,18 +315,16 @@ public:
315 F32 mDensitySliderValue; 315 F32 mDensitySliderValue;
316 316
317private: 317private:
318 // our parameter manager singleton instance
319 static LLWaterParamManager * sInstance;
320
321private:
322
323 LLVector4 mWaterPlane; 318 LLVector4 mWaterPlane;
324 F32 mWaterFogKS; 319 F32 mWaterFogKS;
320
321 // our parameter manager singleton instance
322 static LLWaterParamManager * sInstance;
325}; 323};
326 324
327inline void LLWaterParamManager::setDensitySliderValue(F32 val) 325inline void LLWaterParamManager::setDensitySliderValue(F32 val)
328{ 326{
329 val /= 10; 327 val /= 10.0f;
330 val = 1.0f - val; 328 val = 1.0f - val;
331 val *= val * val; 329 val *= val * val;
332// val *= val; 330// val *= val;