]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.cxx
Goodbye automake.
[flightgear.git] / src / Main / globals.cxx
index 4d6d7bf57ec776e3f7a02ef91582371ebf33a214..bf302987c420b556a250d75ac05d4b884caab755 100644 (file)
@@ -380,6 +380,11 @@ FGGlobals::get_aircraft_position() const
     throw sg_exception("Can't get aircraft position", "FGGlobals::get_aircraft_position()" );
 }
 
+SGVec3d
+FGGlobals::get_aircraft_positon_cart() const
+{
+    return SGVec3d::fromGeod(get_aircraft_position());
+}
 
 
 // Save the current state as the initial state.