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