lerpDouble function

double? lerpDouble(
  1. num a,
  2. num b,
  3. double t
)

Implementation

double? lerpDouble(num a, num b, double t) {
  return a + (b - a) * t;
}