#include double lerpf(double a, double b, double t) { return a + (b - a) * t; }