Changed epsilon to 1e-5 to address picking problems with planaer objects
This commit is contained in:
@@ -525,7 +525,7 @@ bool LineSegmentIntersector::intersectAndClip(osg::Vec3d& s, osg::Vec3d& e,const
|
||||
osg::Vec3d bb_min(bbInput._min);
|
||||
osg::Vec3d bb_max(bbInput._max);
|
||||
|
||||
double epsilon = 1e-6;
|
||||
double epsilon = 1e-5;
|
||||
|
||||
// compate s and e against the xMin to xMax range of bb.
|
||||
if (s.x()<=e.x())
|
||||
|
||||
Reference in New Issue
Block a user