• Converts an array to a vector.

    Parameters

    • arr: number[]

      The array

    • dimension: 2 | 4 | 3

      The dimension of the vector, which can be 2, 3, or 4

    • Optional index: number = 0

      The index of the array to start the vector

    Returns ChalkboardVector

Generated using TypeDoc