lerp<L extends ILerpTo<L>> static method

L? lerp<L extends ILerpTo<L>>(
  1. L? from,
  2. L? to,
  3. double t
)

Implementation

static L? lerp<L extends ILerpTo<L>>(L? from, L? to, double t) {
  return from != null && to != null ? from.lerpTo(to, t) : to;
}