Skip to content

shz_quat_to_axis_angle

Markdown
SHZ_INLINE void shz_quat_to_axis_angle(shz_quat_t q, shz_vec3_t* vec, float* angle) SHZ_NOEXCEPT;

Returns both the axis and angle of rotation simultaneously (faster if both are needed) from the given quaternion.

NameTypeDescription
qshz_quat_t
vecshz_vec3_t *
anglefloat *

Nothing (void).