From 1bcf5377856e2a132d4c4bc85d2911c2458b1d5e Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 16 Sep 2019 16:35:45 +0100 Subject: [PATCH] aux/math: Add standard gravity value --- src/xrt/auxiliary/math/m_api.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/xrt/auxiliary/math/m_api.h b/src/xrt/auxiliary/math/m_api.h index d9b770800..047a36436 100644 --- a/src/xrt/auxiliary/math/m_api.h +++ b/src/xrt/auxiliary/math/m_api.h @@ -35,6 +35,19 @@ extern "C" { * @brief C interface to some transform-related math functions. */ +/* + * + * Defines. + * + */ + +/*! + * Standard gravity acceleration constant. + * + * @ingroup aux_math + */ +#define MATH_GRAVITY_M_S2 (9.8066) + /* *