Added support for intesecting Drawable that are attached directly to the scene graph without an osg::Geode

This commit is contained in:
Robert Osfield
2014-05-15 16:30:17 +00:00
parent 5b60708e80
commit 03fc0c3662
4 changed files with 13 additions and 1 deletions

View File

@@ -141,6 +141,7 @@ class OSGUTIL_EXPORT IntersectVisitor : public osg::NodeVisitor
virtual float getDistanceToEyePoint(const osg::Vec3& pos, bool withLODScale) const;
virtual void apply(osg::Node&);
virtual void apply(osg::Drawable&);
virtual void apply(osg::Geode& node);
virtual void apply(osg::Billboard& node);

View File

@@ -258,6 +258,7 @@ class OSGUTIL_EXPORT IntersectionVisitor : public osg::NodeVisitor
public:
virtual void apply(osg::Node& node);
virtual void apply(osg::Drawable& drawable);
virtual void apply(osg::Geode& geode);
virtual void apply(osg::Billboard& geode);
virtual void apply(osg::Group& group);