aboutsummaryrefslogtreecommitdiffstats
path: root/libtellurian_elevated_gravity.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libtellurian_elevated_gravity.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libtellurian_elevated_gravity.c b/libtellurian_elevated_gravity.c
new file mode 100644
index 0000000..575c0e8
--- /dev/null
+++ b/libtellurian_elevated_gravity.c
@@ -0,0 +1,10 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+
+double
+libtellurian_elevated_gravity(double gravity, double latitude, double altitude)
+{
+ latitude = radians(latitude);
+ return libtellurian_elevated_gravity_radians(gravity, latitude, altitude);
+}