Normalize the number n from the range min, max to the range 0, 1
n
min, max
0, 1
The number to normalize
The minimum value in the range
The maximum value in the range
A normalized value
const y = SMath.normalize(18, 9, 99); // 0.1 Copy
const y = SMath.normalize(18, 9, 99); // 0.1
Normalize the number
n
from the rangemin, max
to the range0, 1