shz_quat_from_rotation_zxy
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.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
zAngle | float | |
xAngle | float | |
yAngle | float |
Returns
Section titled “Returns”shz_quat_t
Availability
Section titled “Availability”- C++ equivalent:
shz::quat::from_rotation_zxy - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_quat.h:88 - Module: Quaternion, section "Initialization"