FunctionsinverseLerpVectorinverseLerpVector CallableinverseLerpVector(a: Vector, b: Vector, value: Vector): numberInverse of a linear interpolation, given a value in between a and b return how close to a or b the value is. Warning assumes that the value vector is co-linear with vector a and b Example: a=1, b=5, value=4 will return .75Parametersa: Vectorb: Vectorvalue: VectorReturns number
Inverse of a linear interpolation, given a
value
in betweena
andb
return how close toa
orb
thevalue
is.Warning assumes that the
value
vector is co-linear with vectora
andb
Example:
a=1
,b=5
,value=4
will return.75