summaryrefslogtreecommitdiff
path: root/indra/newview/lllegacyatmospherics.h
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-10-26 22:09:27 -0700
committerPtolemy <ptolemy@lindenlab.com>2021-10-27 10:05:13 -0700
commitad91d0fd92bdcb6b4dcd24fda1cdb08d4b9ad97e (patch)
tree193ecd817b856e1188ae51888b0230508f21623a /indra/newview/lllegacyatmospherics.h
parentaa7ca0aea134c9c40a0d4d1450cc64b7831d005f (diff)
SL-16127: Make another pass removing redundant LLSD op [] calls, unused vars, and use atmospheric already calculated
Diffstat (limited to 'indra/newview/lllegacyatmospherics.h')
-rw-r--r--indra/newview/lllegacyatmospherics.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/lllegacyatmospherics.h b/indra/newview/lllegacyatmospherics.h
index 03c8efb91a..d48f3040c3 100644
--- a/indra/newview/lllegacyatmospherics.h
+++ b/indra/newview/lllegacyatmospherics.h
@@ -257,13 +257,11 @@ public:
void setCloudDensity(F32 cloud_density) { mCloudDensity = cloud_density; }
void setWind ( const LLVector3& wind ) { mWind = wind.length(); }
- LLColor4 calcSkyColorInDir(AtmosphericsVars& vars, const LLVector3& dir, bool isShiny = false);
- LLColor4 calcSkyColorInDir(const LLSettingsSky::ptr_t &psky, AtmosphericsVars& vars, const LLVector3& dir, bool isShiny = false);
+ LLColor4 calcSkyColorInDir(const LLSettingsSky::ptr_t &psky, AtmosphericsVars& vars, const LLVector3& dir, bool isShiny = false, const bool low_end = false);
-protected:
+protected:
void calcSkyColorWLVert(const LLSettingsSky::ptr_t &psky, LLVector3 & Pn, AtmosphericsVars& vars);
- LLColor3 getHazeColor(LLSettingsSky::ptr_t psky, AtmosphericsVars& vars, F32 costheta, F32 cloud_shadow);
LLHaze mHaze;
F32 mHazeConcentration;