lerpInt function

int lerpInt(
  1. int a,
  2. int b,
  3. double t
)

Lerps int list based on t value, check Tween.lerp.

Implementation

int lerpInt(int a, int b, double t) => (a + (b - a) * t).round();