Skip to content

function linear(M, T, T) interpolation

template <typename T, typename M>
KFR_FUNCTION T linear(M mu, T x1, T x2)

Linear interpolation.

Linearly blends between x1 and x2 by mu.

Defined at math/interpolation.hpp:53