shz_lerpf
SHZ_INLINE float shz_lerpf(float a, float b, float t) SHZ_NOEXCEPT;Returns a value that is linearly interpolated between a and b by the given ratio, t.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
a | float | |
b | float | |
t | float |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::lerpf - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:246 - Module: Scalar, section "Miscellaneous"