inverseLerp

Returns an interpolator value of the linearly interpolated vector t between a and b vectors.

Parameters

a

the source vector.

b

the destination vector.

t

the interpolated vector.