[osg-users] Vec3/Vec3d question in LineSegmentIntersector

2008-03-23 Thread Roni Rosenzweig
Hello I noticed that in LineSegmentIntersector::Intersection the function that returns the local intersection point returns osg::Vec3d, but the local normal point returns osg::Vec3. Is there a reason? I'm trying to change my entire application to use double and Vec3d instead of floats (because of

Re: [osg-users] Vec3/Vec3d question in LineSegmentIntersector

2008-03-23 Thread Robert Osfield
Hi Roni, Precision isn't normally required for normals, as they always are of of unit length without any precisions issues. Its only position data on large models, such as whole earth, that have issues with point data and precision, so double precision is required. Robert. On Sun, Mar 23, 2008