Fixed handling of absolute transforms in IntersectVisitor.

This commit is contained in:
Robert Osfield
2005-12-16 16:27:17 +00:00
parent 061976f4d4
commit 13e45c98fb
2 changed files with 30 additions and 12 deletions

View File

@@ -18,6 +18,7 @@
#include <osg/LineSegment>
#include <osg/Geode>
#include <osg/Matrix>
#include <osg/Transform>
#include <osgUtil/Export>
@@ -186,7 +187,7 @@ class OSGUTIL_EXPORT IntersectVisitor : public osg::NodeVisitor
bool intersect(osg::Drawable& gset);
void pushMatrix(const osg::Matrix& matrix);
void pushMatrix(osg::RefMatrix* matrix, osg::Transform::ReferenceFrame rf);
void popMatrix();
bool enterNode(osg::Node& node);