From Jean-Sebastien Guay, "adds osgUtil::LineSegmentIntersector::setStart(osg::Vec3d) and

setEnd(osg::Vec3d)."
This commit is contained in:
Robert Osfield 2007-08-12 13:17:37 +00:00
parent abc2499e2d
commit 113805c78a

View File

@ -73,6 +73,9 @@ class OSGUTIL_EXPORT LineSegmentIntersector : public Intersector
inline Intersection getFirstIntersection() { Intersections& intersections = getIntersections(); return intersections.empty() ? Intersection() : *(intersections.begin()); }
inline void setStart(const osg::Vec3d& start) { _start = start; }
inline void setEnd(const osg::Vec3d& end) { _end = end; }
public:
virtual Intersector* clone(osgUtil::IntersectionVisitor& iv);