]> git.mxchange.org Git - simgear.git/blobdiff - simgear/magvar/magvar.hxx
Use mkdtemp where available, avoiding linker warnings about dangerous tempnam
[simgear.git] / simgear / magvar / magvar.hxx
index 6a97e5ea7719eb3eb137910c8b6641ae82de96d4..605bece722bc09a99a80a249f803db8e84870048 100644 (file)
@@ -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