Monado OpenXR Runtime
Functions
m_quatexpmap.cpp File Reference

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>
Include dependency graph for m_quatexpmap.cpp:

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...
 

Detailed Description

Base implementations for math library.

Author
Ryan Pavlik ryan..nosp@m.pavl.nosp@m.ik@co.nosp@m.llab.nosp@m.ora.c.nosp@m.om

Based in part on inc/osvr/Util/EigenQuatExponentialMap.h in OSVR-Core