lerp method

double lerp(
  1. double min,
  2. double max
)

Implementation

double lerp(double min, double max) {
  return min + (max - min) * this;
}