mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
a/math: Add missing C declaration specifier [NFC]
This commit is contained in:
parent
50b5e6445e
commit
ae31778032
|
@ -211,7 +211,7 @@ math_quat_from_angle_vector(float angle_rads, const struct xrt_vec3 *vector, str
|
|||
map_quat(*result) = Eigen::AngleAxisf(angle_rads, copy(vector));
|
||||
}
|
||||
|
||||
void
|
||||
extern "C" void
|
||||
math_quat_from_euler_angles(const struct xrt_vec3 *angles, struct xrt_quat *result)
|
||||
{
|
||||
map_quat(*result) = Eigen::AngleAxisf(angles->z, Eigen::Vector3f::UnitZ()) *
|
||||
|
|
Loading…
Reference in a new issue