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

@ -72,6 +72,9 @@ class OSGUTIL_EXPORT LineSegmentIntersector : public Intersector
inline Intersections& getIntersections() { return _parent ? _parent->_intersections : _intersections; }
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: