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
valuein betweenaandbreturn how close toaorbthevalueis.Warning assumes that the
valuevector is co-linear with vectoraandbExample:
a=1,b=5,value=4will return.75