Scales value from one range to another and clamps it down
value to be scaled
max bound to scale from
max bound to scale clamp to
scaled and clamped value
Generated using TypeDoc
Scales value from one range to another and clamps it down