normalizeRatio abstract method

double normalizeRatio(
  1. double ratio
)

Makes sure the given ratio is between the bounds.

Implementation

double normalizeRatio(double ratio);