shz_quat_magnitude_sqr
SHZ_INLINE float shz_quat_magnitude_sqr(shz_quat_t quat) SHZ_NOEXCEPT;Returns the squared 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_sqr - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_quat.h:174 - Module: Quaternion, section "Properties"