- void addTree(const osg::Vec3& position, float scale)
- {
- _trees.push_back(osg::Vec4(position, scale));
- }
-
- osg::ref_ptr<osg::Drawable> _geometry;
+ void addObject(const osg::Vec3& position, float scale, int texture_index);
+
+ osg::ref_ptr<osg::Geometry> _geometry;