lerp static method

double lerp(
  1. double x,
  2. double y,
  3. double t
)

Implementation

static double lerp(double  x, double y, double t ) {
  return ( 1 - t ) * x + t * y;
}