mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
a/math: Correct documentation for math_quat_ln and math_quat_exp
This commit is contained in:
parent
fa8a09e8d3
commit
e06dc0dda1
|
@ -351,7 +351,8 @@ math_quat_finite_difference(const struct xrt_quat *quat0,
|
||||||
struct xrt_vec3 *out_ang_vel);
|
struct xrt_vec3 *out_ang_vel);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Converts a rotation vector in axis-angle form to its corresponding unit quaternion.
|
* Takes a rotation vector equal to half of a Rodrigues rotation vector and returns its corresponding unit quaternion.
|
||||||
|
* Useful for head tracking and pose-prediction.
|
||||||
*
|
*
|
||||||
* @relates xrt_quat
|
* @relates xrt_quat
|
||||||
* @see xrt_vec3
|
* @see xrt_vec3
|
||||||
|
@ -362,7 +363,8 @@ math_quat_exp(const struct xrt_vec3 *axis_angle, struct xrt_quat *out_quat);
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Converts a unit quaternion into its corresponding axis-angle vector representation.
|
* Takes a unit quaternion and returns a rotation vector equal to half of its corresponding Rodrigues rotation vector.
|
||||||
|
* Useful for head tracking and pose-prediction.
|
||||||
*
|
*
|
||||||
* @relates xrt_quat
|
* @relates xrt_quat
|
||||||
* @see xrt_vec3
|
* @see xrt_vec3
|
||||||
|
|
Loading…
Reference in a new issue