Changed epsilon to 1e-5 to address picking problems with planaer objects

This commit is contained in:
Robert Osfield
2013-12-11 17:20:14 +00:00
parent e3bf55a266
commit 2501f32e9a

View File

@@ -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())