From: Mathias Froehlich Date: Sun, 1 Apr 2012 15:50:49 +0000 (+0200) Subject: Fix typo in SGGeodesy. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=29462005b7e276e1373acc1ef885ab314db8379a;p=simgear.git Fix typo in SGGeodesy. Pointed out by Carl Godkin. Thanks! --- diff --git a/simgear/math/SGGeodesy.cxx b/simgear/math/SGGeodesy.cxx index d86cf0e3..396dae49 100644 --- a/simgear/math/SGGeodesy.cxx +++ b/simgear/math/SGGeodesy.cxx @@ -87,7 +87,7 @@ SGGeodesy::SGCartToGeod(const SGVec3& cart, SGGeod& geod) // coordinates 0/0/-EQURAD. It may be any other place on geoide's surface, // the Northpole, Hawaii or Wentorf. This one was easy to code ;-) geod.setLongitudeRad( 0.0 ); - geod.setLongitudeRad( 0.0 ); + geod.setLatitudeRad( 0.0 ); geod.setElevationM( -EQURAD ); return; }