Skip to main content

inverseLerpVector

Callable


  • Inverse 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 .75


    Parameters

    Returns number