Skip to content

shz_lerpf

Markdown
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.

NameTypeDescription
afloat
bfloat
tfloat

float

  • 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"