Monado OpenXR Runtime
|
Base implementations for math library. More...
#include "math/m_api.h"
#include "math/m_eigen_interop.hpp"
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <assert.h>
Functions | |
void | math_quat_integrate_velocity (const struct xrt_quat *quat, const struct xrt_vec3 *ang_vel, const float dt, struct xrt_quat *result) |
Integrate an angular velocity vector (exponential map) and apply to a quaternion. More... | |
void | math_quat_finite_difference (const struct xrt_quat *quat0, const struct xrt_quat *quat1, const float dt, struct xrt_vec3 *out_ang_vel) |
Compute an angular velocity vector (exponential map format) by taking the finite difference of two quaternions. More... | |
Base implementations for math library.
Based in part on inc/osvr/Util/EigenQuatExponentialMap.h in OSVR-Core