Skip to content

shz_quat_from_rotation_zxy

Markdown
SHZ_INLINE shz_quat_t shz_quat_from_rotation_zxy(float zAngle, float xAngle, float yAngle) SHZ_NOEXCEPT;

Returns the quaternion of the rotation shz_xmtrx_init_rotation_zxy() builds, Qz * Qx * Qy, from angles in radians.

NameTypeDescription
zAnglefloat
xAnglefloat
yAnglefloat

shz_quat_t