(following from my recent discovery that Point3D is archeology at  
best...)

What is the 'best' type to be using in new code for Cartesian co- 
ordinates? Not for rendering related things, where I assume osg::Vec3  
is the way to go, but for other numerical work. In my case, fast  
distance comparisons of FGPositioned.

SGVec3<double> seems like the obvious candidate, but it's a very  
Spartan class - not much syntactic sugar to help with manipulating it.  
I could submit patches to extend it, but I want to check that it's the  
right class, and the right approach, before going down that path.

Maybe osg::Vec3 is also the way to go for all Cartesian coords?

Regards,
James


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to