]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/sky/cloud.hxx
Harald JOHNSEN:
[simgear.git] / simgear / scene / sky / cloud.hxx
index dbd7c8fb1cdfe154584d00fdcfd53a9a8f76ebf9..6a179d9f768719ef2d8d7ac67564d419ad089e3d 100644 (file)
@@ -39,6 +39,7 @@ SG_USING_STD(string);
 // SG_USING_STD(cout);
 // SG_USING_STD(endl);
 
+class SGCloudField;
 
 /**
  * A class layer to model a single cloud layer
@@ -183,6 +184,9 @@ public:
 
     static bool enable_bump_mapping;
 
+       /** return the 3D layer cloud associated with this 2D layer */
+       SGCloudField *get_layer3D(void) { return layer3D; }
+
 private:
 
     struct CloudVertex {
@@ -225,6 +229,8 @@ private:
     // position, not view position
     // double xoff, yoff;
     double last_lon, last_lat, last_course;
+
+       SGCloudField *layer3D;
 };