You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linear extrapolation and normalization are very common operations, particularly for graphics programming. I think they would make good candidates for inclusion in the standard.
For context, both of these are essentially specialisations of the proposed Math.scale, where:
normalize is equivalent to Math.scale(value, min, max, 0, 1)
lerp is equivalent to Math.scale(value, 0, 1, min, max)
But they are such common operations, and have their own mathematical names, I think they warrant inclusion.
Linear extrapolation and normalization are very common operations, particularly for graphics programming. I think they would make good candidates for inclusion in the standard.
For context, both of these are essentially specialisations of the proposed
Math.scale
, where:normalize
is equivalent toMath.scale(value, min, max, 0, 1)
lerp
is equivalent toMath.scale(value, 0, 1, min, max)
But they are such common operations, and have their own mathematical names, I think they warrant inclusion.
The text was updated successfully, but these errors were encountered: