shz_quat_to_angles_xyz
SHZ_INLINE shz_vec3_t shz_quat_to_angles_xyz(shz_quat_t q) SHZ_NOEXCEPT;Returns the roll, pitch, and yaw angles of rotation represented by the given quaternion.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
q | shz_quat_t |
Returns
Section titled “Returns”shz_vec3_t
Availability
Section titled “Availability”- C++ equivalent:
shz::quat::to_angles_xyz - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_quat.h:171 - Module: Quaternion, section "Properties"