shz_quat_lerp
SHZ_INLINE shz_quat_t shz_quat_lerp(shz_quat_t a, shz_quat_t b, float t) SHZ_NOEXCEPT;Returns the quaternion that is linearly interpolating a to b, by a t factor of 0.0f-1.0f.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
a | shz_quat_t | |
b | shz_quat_t | |
t | float |
Returns
Section titled “Returns”shz_quat_t
Availability
Section titled “Availability”- C++ equivalent:
shz::quat::lerp - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_quat.h:122 - Module: Quaternion, section "Initialization"