protected float clampScale(float inScale){
  return Math.max(0.005f,Math.min(inScale,1.0f));
}

protected float clampScale ( float inScale ) { return Math . max ( 0.005f , Math . min ( inScale , 1.0f ) ) ; }
clamp the range of possible scales as it is set with setscale .
