lerp

fndouble lerp(double a, double b, double t)

Computes the linear interpolation between a and b for t.

Parameters

athe start
bthe end
tthe interpolation rate

Returns

the computed value