]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sky/cloud.hxx
Cloud texcoord fixes to tie apparent cloud position to earth even though
[simgear.git] / simgear / sky / cloud.hxx
index 1faabb3f5605cbf82932201058049c1007749226..37deac1922e9de2b2e6b26905099c8bdd23cb217 100644 (file)
@@ -39,7 +39,15 @@ class SGCloudLayer {
     ssgVertexArray *vl;
     ssgTexCoordArray *tl;
 
-    float layer_asl;           // height above sea level (meters)
+    // height above sea level (meters)
+    float layer_asl;
+    float size;
+
+    // for handling texture coordinates to simulate cloud movement
+    // from winds, and to simulate the clouds being tied to ground
+    // position, not view position
+    // double xoff, yoff;
+    double last_lon, last_lat;
 
 public: