Added getStart()/getEnd()
This commit is contained in:
parent
113805c78a
commit
c2930e5ec1
@ -74,7 +74,10 @@ class OSGUTIL_EXPORT LineSegmentIntersector : public Intersector
|
|||||||
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 setStart(const osg::Vec3d& start) { _start = start; }
|
||||||
|
inline const osg::Vec3d& getStart() const { return _start; }
|
||||||
|
|
||||||
inline void setEnd(const osg::Vec3d& end) { _end = end; }
|
inline void setEnd(const osg::Vec3d& end) { _end = end; }
|
||||||
|
inline const osg::Vec3d& setEnd() const { return _end; }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user