Skip to content

Commit

Permalink
Changed epsilon to 1e-5 to address picking problems with planaer objects
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Dec 11, 2013
1 parent 70248cf commit dd2289c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osgUtil/LineSegmentIntersector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit dd2289c

Please sign in to comment.