get the inverse of lerp(x0, x1, t), which is to say: find the UnitInterval parameter t, given a scalar number x in the closed interval [x0, x1]
(x0, x1, t)
t
x
[x0, x1]
get the inverse of lerp
(x0, x1, t)
, which is to say: find the UnitInterval parametert
, given a scalar numberx
in the closed interval[x0, x1]