From Jean-Sebastien Guay, "adds osgUtil::LineSegmentIntersector::setStart(osg::Vec3d) and
setEnd(osg::Vec3d)."
This commit is contained in:
parent
abc2499e2d
commit
113805c78a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user