[osg-submissions] try doubles formathinLineSegment::intersect() methods

Robert Osfield robert.osfield at gmail.com
Thu Feb 21 10:38:27 PST 2008


On Thu, Feb 21, 2008 at 6:19 PM, Andy Skinner
<Andy.Skinner at mathworks.com> wrote:
> Robert, are you doing to do any more with this?  I don't mind pushing it
>  forward (we need it, because the problem is breaking some tests for us),
>  but I don't think I've grasped all your ideas.

I'm not tinkering with it right now.  I've checked in the work for
using a typedef in LineSegment for abstracting away from whether ones
using Vec3f or Vec3d, and has set the default of this typedef to
Vec3d, and moved the related variables and methods across to use this
typedef.  I'd recommend doing an svn update and reviewing this
changes.

I consider these changes a first step, and haven't yet change all the
internals to use the typedefs, so some functions will still be stuck
in floats.

Feel free to go an tinker further.
Robert.


More information about the osg-submissions mailing list