inverseLerp

Returns the fraction in [0, 1] that value represents between x and y. Returns 0 when x == y (rather than NaN).

Return

The interpolation factor.