From Jean-Sebastien Guay, "adds osgUtil::LineSegmentIntersector::setStart(osg::Vec3d) and
setEnd(osg::Vec3d)."
This commit is contained in:
parent
abc2499e2d
commit
113805c78a
@ -72,6 +72,9 @@ class OSGUTIL_EXPORT LineSegmentIntersector : public Intersector
|
|||||||
inline Intersections& getIntersections() { return _parent ? _parent->_intersections : _intersections; }
|
inline Intersections& getIntersections() { return _parent ? _parent->_intersections : _intersections; }
|
||||||
|
|
||||||
inline Intersection getFirstIntersection() { Intersections& intersections = getIntersections(); return intersections.empty() ? Intersection() : *(intersections.begin()); }
|
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:
|
public:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user