Revised KdTreeBuilder so that is used the new apply(osg::Geometry&) method rather than expanding an osg::Geode.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14303 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -179,7 +179,7 @@ class OSG_EXPORT KdTreeBuilder : public osg::NodeVisitor
|
||||
|
||||
virtual KdTreeBuilder* clone() { return new KdTreeBuilder(*this); }
|
||||
|
||||
void apply(osg::Geode& geode);
|
||||
void apply(Geometry& geometry);
|
||||
|
||||
KdTree::BuildOptions _buildOptions;
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ class OSG_EXPORT NodeVisitor : public virtual Object
|
||||
virtual float getDistanceToViewPoint(const Vec3& /*pos*/, bool /*useLODScale*/) const { return 0.0f; }
|
||||
|
||||
virtual void apply(Drawable& drawable);
|
||||
virtual void apply(Geometry& drawable);
|
||||
virtual void apply(Geometry& geometry);
|
||||
|
||||
virtual void apply(Node& node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user