Calculates the interpolation of a vector.

  • Parameters

    • vect: ChalkboardVector

      The vector

    • a: number

      The x-value (for 2D, 3D, and 4D vectors)

    • b: number

      The y-value (for 2D, 3D, and 4D vectors)

    • Optionalc: number

      The z-value (for 3D and 4D vectors)

    • Optionald: number

      The w-value (for 4D vectors)

    Returns ChalkboardVector