]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/tgdb/TreeBin.hxx
hla: Provide a directly property based api for property data element.
[simgear.git] / simgear / scene / tgdb / TreeBin.hxx
index bb542c230edbd80860cc4f9cbca13bd2f84fba0e..a9c421987f1012eb5bc7078e81b05985a9565ffe 100644 (file)
@@ -49,7 +49,7 @@ public:
     float height;
     float width;
     std::string texture;
-
+    
     void insert(const Tree& t)
     { _trees.push_back(t); }
     void insert(const SGVec3f& p, int t, float s)
@@ -62,6 +62,9 @@ public:
     TreeList _trees;
 };
 
-osg::Group* createForest(TreeBin& forest, const osg::Matrix& transform);
+
+typedef std::list<TreeBin*> SGTreeBinList;
+
+osg::Group* createForest(SGTreeBinList& forestList, const osg::Matrix& transform);
 }
 #endif