Expand a normalized number n to the range min, max
n
min, max
A normalized number
The minimum value in the range
The maximum value in the range
A value within the number range
const y = SMath.expand(0.25, 4, 6); // 4.5 Copy
const y = SMath.expand(0.25, 4, 6); // 4.5
Expand a normalized number
n
to the rangemin, max