diff options
author | Graham Linden <graham@lindenlab.com> | 2018-07-10 23:26:35 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-07-10 23:26:35 +0100 |
commit | ffdd6c3d7dad87e9873067a923d4e7ce9e6d4d2c (patch) | |
tree | b28dd084c3e016e91c2860a90d52507cd29c0dcc /indra/llrender/llatmosphere.h | |
parent | a90e61b798711306496c2ed7aa5cce6d096ea466 (diff) |
Make advanced atmo sky shader compile again.
Make atmospheric model avoid redundant work when settings don't change.
Point autobuild.xml at libatmosphere with op== to compare density profiles.
Diffstat (limited to 'indra/llrender/llatmosphere.h')
-rw-r--r-- | indra/llrender/llatmosphere.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llrender/llatmosphere.h b/indra/llrender/llatmosphere.h index 0d62a069ac..a010803595 100644 --- a/indra/llrender/llatmosphere.h +++ b/indra/llrender/llatmosphere.h @@ -52,6 +52,8 @@ public: F32 sunArcRadians, F32 mieAniso); + bool operator==(const AtmosphericModelSettings& rhs) const; + F32 m_skyBottomRadius; F32 m_skyTopRadius; DensityProfile m_rayleighProfile; @@ -107,6 +109,8 @@ protected: std::vector<double> m_mie_extinction; std::vector<double> m_absorption_extinction; std::vector<double> m_ground_albedo; + + AtmosphericModelSettings m_settings; }; extern LLAtmosphere* gAtmosphere; |