]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/material/matlib.hxx
hla: Provide a directly property based api for property data element.
[simgear.git] / simgear / scene / material / matlib.hxx
index 373ae83d81bc2c0ec93fae467e8a795e59f4f2c9..b3e8c9005427f3419f1ebb3eb24772f7edb24531 100644 (file)
@@ -37,8 +37,7 @@
 #include <map>                 // STL associative "array"
 #include <vector>              // STL "array"
 
-#include <osg/Node>
-#include <osg/StateSet>
+#include <osg/Geode>
 
 class SGMaterial;
 class SGPropertyNode;
@@ -82,7 +81,7 @@ public:
     material_map_iterator end() { return matlib.end(); }
     const_material_map_iterator end() const { return matlib.end(); }
 
-    static const SGMaterial* findMaterial(const simgear::Effect* effect);
+    static const SGMaterial* findMaterial(const osg::Geode* geode);
 
     // Destructor
     ~SGMaterialLib ( void );