Function Lerp

  • A Lerp function returns the value between two numbers at specified decimal midpoints.

    Returns

    Value between two numbers

    Parameters

    • x: number

      The minimum of range

    • y: number

      The maximum of range

    • a: number

      Decimal midpoint

    Returns number