lerp — Performs a linear interpolation
fix32 lerp(fix32 p0, fix32 p1, fix32 fract);
Returns the linear interpolation of p0 and p1 based on fract.
(p0 * (1 - fract)) + (p1 * fract)
The result of the linear interpolation.
init { printf("%.2f", lerp(1.0, 10.0, 0.5)); // 5.5 }