Skip to content

shz_xmtrx_get_rotation

Markdown
SHZ_INLINE void shz_xmtrx_get_rotation(float* radians, shz_vec3_t* axis) SHZ_NOEXCEPT;

Extracts the angle-axis rotational component from XMTRX.

NameTypeDescription
radiansfloat *Pointer for returning the angle in radians.
axisshz_vec3_t *Pointer for returning the 3D axis of rotation.

Nothing (void).

shz_mat4x4_get_rotation