X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FTime%2Flight.hxx;h=42a9f27d8869cd807900739c1555b14fc32da0c9;hb=cbec277ed4d453cbce6b6f7a62b5cfd9cab90329;hp=f3ecb32e16bf5f8f8c30c23ca2435ca6c36e38f3;hpb=c1bb4aec97f0ae8e6bbe970acfd1a5f53127a723;p=flightgear.git diff --git a/src/Time/light.hxx b/src/Time/light.hxx index f3ecb32e1..42a9f27d8 100644 --- a/src/Time/light.hxx +++ b/src/Time/light.hxx @@ -96,12 +96,15 @@ private: // clear sky and fog color adjusted for sunset effects SGVec4f _adj_fog_color; SGVec4f _adj_sky_color; + float _saturation; double _dt_total; void update_sky_color (); void update_adj_fog_color (); + void updateSunPos(); + // properties for chrome light; not a tie because I want to fire // property listeners when the values change. SGPropertyNode_ptr _chromeProps[4]; @@ -129,7 +132,6 @@ public: inline const SGVec4f& adj_fog_color () const { return _adj_fog_color; } inline const SGVec4f& adj_sky_color () const { return _adj_sky_color; } - // Sun related functions inline double get_sun_angle () const { return _sun_angle; }