Hi Richard, Feel free to fix it and send me the changed file :-)
If no I'll get I've noted it down on my TODO list and will get to some time this week. Robert. On 12/6/06, Schmidt, Richard, SDGE1 <[EMAIL PROTECTED]> wrote:
Hi, I was looking at the method mentioned above, which is used for calculating the lat/long from a geocentric position. The longitude gets calculated using longitude = atan2(Y,X); However when X = Y = 0 the MSDN says: atan2 is well-defined for every point other than the origin, even if x equals 0 and y does not equal 0. I guess we need an "if" here. :-) Richard _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
