From 29462005b7e276e1373acc1ef885ab314db8379a Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Sun, 1 Apr 2012 17:50:49 +0200 Subject: [PATCH] Fix typo in SGGeodesy. Pointed out by Carl Godkin. Thanks! --- simgear/math/SGGeodesy.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5