shz_quat_magnitude
SHZ_INLINE float shz_quat_magnitude(shz_quat_t quat) SHZ_NOEXCEPT;Returns the magnitude of the given quaternion.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
quat | shz_quat_t |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::quat::magnitude - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_quat.h:177 - Module: Quaternion, section "Properties"