robertosfield wrote:
> On Thu, Jul 1, 2010 at 11:27 AM, Paul Palumbo <> wrote:
> 
> > I understand discrete math but I'm still confused.
> > 
> > Shouldn't intersections just retrieve the hit polygons so why should this 
> > be a mathematical calculation?  Also, I'd expect a "double" to be able to 
> > represent a "0.0" value without loss of precision.
> > 
> 
> Go use a debugger.
> 
> Robert.
> 


I can not say I fully understand this code but I would say that the problem is 
probably more associated with the "epsilon = 1e-4" code in 
LineSegmentIntersection::intersectAndClip than any discrete math problem. This 
results in _e.z having a -0.0001 value and _s.z having a 0.0001 value which 
then effects the remap_ratio.

I'm using OSG 2.8.3.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29600#29600





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to