]> git.mxchange.org Git - simgear.git/commitdiff
More tweaks ...
authorcurt <curt>
Tue, 4 Jul 2000 15:44:49 +0000 (15:44 +0000)
committercurt <curt>
Tue, 4 Jul 2000 15:44:49 +0000 (15:44 +0000)
simgear/sky/sky.cxx
simgear/sky/sky.hxx

index 36c3c257fa8e5cc85d886e8fb294b096274b040f..5cde898fb29e360e460a0c0f12b50326c597dd53 100644 (file)
@@ -248,8 +248,8 @@ void SGSky::postDraw( float alt ) {
 }
 
  
-void SGSky::add_cloud_layer( double span, double asl,
-                            double thickness, double transition,
+void SGSky::add_cloud_layer( double asl, double thickness,
+                            double transition, double span,
                             ssgSimpleState *state ) {
     SGCloudLayer *layer = new SGCloudLayer;
     layer->build( span, asl, thickness, transition, state );
@@ -273,19 +273,19 @@ void SGSky::add_cloud_layer( double span, double asl,
 }
 
 
-void SGSky::add_cloud_layer( double span, double asl,
-                            double thickness, double transition,
+void SGSky::add_cloud_layer( double asl, double thickness,
+                            double transition, double span,
                             const string &tex_path ) {
     ssgSimpleState *state = SGCloudMakeState( tex_path );
-    add_cloud_layer( span, asl, thickness, transition, state );
+    add_cloud_layer( asl, thickness, transition, span, state );
 }
 
 
-void SGSky::add_cloud_layer( double span, double asl,
-                            double thickness, double transition,
+void SGSky::add_cloud_layer( double asl, double thickness,
+                            double transition, double span,
                             SGCloudType type ) {
     if ( type > 0 && type < SG_MAX_CLOUD_TYPES ) {
-       add_cloud_layer( span, asl, thickness, transition, cloud_mats[type] );
+       add_cloud_layer( asl, thickness, transition, span, cloud_mats[type] );
     }
 }
 
index 95665fd7c176ddfe61ef375a0517a042d791f71c..4190508be387bc50ff850b3596a1cc26a678e9bc 100644 (file)
@@ -153,14 +153,14 @@ public:
     }
 
     // add a cloud layer (above sea level in meters)
-    void add_cloud_layer( double span, double asl, 
-                         double thickness, double transition,
+    void add_cloud_layer( double asl, double thickness,
+                         double transition, double span,
                          SGCloudType type );
-    void add_cloud_layer( double span, double asl,
-                         double thickness, double transition,
+    void add_cloud_layer( double asl, double thickness,
+                         double transition, double span,
                          const string &tex_path );
-    void add_cloud_layer( double span, double asl,
-                         double thickness, double transition,
+    void add_cloud_layer( double asl, double thickness,
+                         double transition, double span,
                          ssgSimpleState *state );
 
     inline int get_num_layers() const { return cloud_layers.size(); }