shz_quat_scale
SHZ_INLINE shz_quat_t shz_quat_scale(shz_quat_t q, float f) SHZ_NOEXCEPT;Scales the components of the given quaternion by the given factor.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
q | shz_quat_t | |
f | float |
Returns
Section titled “Returns”shz_quat_t
Availability
Section titled “Availability”- C++ equivalent:
shz::quat::scaled - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_quat.h:221 - Module: Quaternion, section "Arithmetic"