Skip to content

shz_quat_from_rotation_zyx

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

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

NameTypeDescription
zAnglefloat
yAnglefloat
xAnglefloat

shz_quat_t