2009/4/20 David Karlsson <[email protected]> > Hi, > We also created a version with doubles for the project that I'm working on. > (The reason for this was that we needed to calculate the derivative of a > geocentric terrain given a lat/long coordinate.) It would be convenient for > us if this option was given as a cmake flag. I'm pretty new to osg so my > question is basically what "it never got into the trunk" means - was it not > a good idea? Why has it been rejected? >
The submission wasn't merged as is I don't feel it's appropriate to manage the internal double support as an optional compile, rather we should have two LineSegment compute methods - one using doubles, and one using floats and have a setting to switch between the two at runtime. You needn't even need a separate class for it. Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

