shz_quat_angle_z
SHZ_INLINE float shz_quat_angle_z(shz_quat_t q) SHZ_NOEXCEPT;Returns the angle of rotation the quaternion represents about the Z axis in radians.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
q | shz_quat_t |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::quat::angle_z - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_quat.h:165 - Module: Quaternion, section "Properties"