Skip to content

function cosine(M, T, T) interpolation

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

Cosine interpolation.

Smooth interpolation between x1 and x2 using a cosine curve.

Defined at math/interpolation.hpp:64