clampScale function

double clampScale(
  1. double scale,
  2. double min,
  3. double max
)

Implementation

double clampScale(double scale, double min, double max) {
  return scale.clamp(min, max);
}