X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmagvar%2Fmagvar.hxx;h=605bece722bc09a99a80a249f803db8e84870048;hb=086a30e61aa153008bd403c79cd1bff3ad594179;hp=6a97e5ea7719eb3eb137910c8b6641ae82de96d4;hpb=ad86e22824733ffb6bbb59e8ea1394c0b2cea46b;p=simgear.git diff --git a/simgear/magvar/magvar.hxx b/simgear/magvar/magvar.hxx index 6a97e5ea..605bece7 100644 --- a/simgear/magvar/magvar.hxx +++ b/simgear/magvar/magvar.hxx @@ -103,5 +103,9 @@ public: */ double sgGetMagVar( double lon, double lat, double alt_m, double jd ); +/** + * overload version of the above to take a SGGeod + */ +double sgGetMagVar( const SGGeod& pos, double jd ); #endif // _MAGVAR_HXX