]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/sky/cloud.hxx
Adjust the layer span and amount of curving based on the eleveation of the layer
[simgear.git] / simgear / scene / sky / cloud.hxx
index 90c33f62c58df1c6307fb74fe22b3bfb054b917a..3da2b683dbe58e97603ee2895c61ca22b5e7b28d 100644 (file)
@@ -81,8 +81,9 @@ public:
      * of the cloud layer.  The elevation of the top of the layer is
      * elevation_m + thickness_m.
      * @param elevation_m the layer elevation in meters
+     * @param set_span defines whether it is allowed to adjust the span
      */
-    void setElevation_m (float elevation_m);
+    void setElevation_m (float elevation_m, bool set_span = true);
 
     /** get the layer thickness */
     float getThickness_m () const;