]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/sky/CloudShaderGeometry.hxx
Downgrade "Please decompress this texture for increased portability"
[simgear.git] / simgear / scene / sky / CloudShaderGeometry.hxx
index 1b63f805f98043a344865482e3c1b5290dce393a..20d0db8172d4d68be3fb43042b495757d63eb5b6 100644 (file)
@@ -46,7 +46,7 @@ class CloudShaderGeometry : public osg::Drawable
         
         const static unsigned int USR_ATTR_1 = 10;
         const static unsigned int USR_ATTR_2 = 11;
-        const static unsigned int USR_ATTR_3 = 12;
+        const static unsigned int USR_ATTR_3 = 12;        
                 
         CloudShaderGeometry()
         { 
@@ -100,12 +100,9 @@ class CloudShaderGeometry : public osg::Drawable
             return _bbox;
         }
         
-        void setGeometry(osg::Drawable* geometry)
-        {
-            _geometry = geometry;
-        }
-        
         void addSprite(const SGVec3f& p, int tx, int ty, float w, float h, float cull);
+        void generateGeometry();
+        void rebuildGeometry();
                 
         osg::ref_ptr<osg::Drawable> _geometry;