public static class Util { public static double Lerp(double start, double end, double t) { return start * (1 - t) + end * t; } }