lerp static method

Implementation

static AnyCorner lerp(AnyCorner a, AnyCorner b, double t) {
  if (identical(a, b) || a == b) return a;
  if (t <= 0.0) return a;
  if (t >= 1.0) return b;
  return _LerpCorner(
    t: t,
    from: a,
    to: b,
  );
}