]> git.mxchange.org Git - simgear.git/blobdiff - simgear/environment/precipitation.hxx
hla: Make use of SGLocation.
[simgear.git] / simgear / environment / precipitation.hxx
index 80a08aeae1d14590e0e4f9ebef6072619283cd6b..8552647e15bf63cedad10e7d490bc571016645d3 100644 (file)
@@ -36,9 +36,11 @@ class SGPrecipitation : public osg::Referenced
 {
 private:
     bool _freeze;
+    bool _enabled;
 
     float _snow_intensity;
     float _rain_intensity;
+    float _clip_distance;
        
     int _wind_dir;
     osg::Vec3 _wind_vec;
@@ -55,6 +57,9 @@ public:
     void setFreezing(bool);
     void setRainIntensity(float);
     void setSnowIntensity(float);
+
+    void setEnabled( bool );
+    bool getEnabled() const;
 };
 
 #endif