public static DVector2 Lerp(DVector2 from, DVector2 to, double t) { return new DVector2(from.X + t * (to.X - from.X), from.Y + t * (to.Y - from.Y)); }