Lerp function

double Lerp(
  1. double start,
  2. double end,
  3. double amount
)

Implementation

double Lerp(double start, double end, double amount) =>
    start + (end - start) * amount;