lerpAngle static method

double lerpAngle(
  1. double from,
  2. double to,
  3. double t
)

Implementation

static double lerpAngle(double from, double to, double t) {
  final diff = normalizeAngle(to - from);
  return from + diff * t;
}