Function setAxis

  • Sets an axis of a 3x3 matrix as a vector with 2 entries

    Type Parameters

    Parameters

    • m: BaseArgType

      The matrix.

    • v: BaseArgType

      the axis vector

    • axis: number

      The axis 0 = x, 1 = y;

    • Optional dst: T

      The matrix to set. If not passed a new one is created.

    Returns T

    The matrix with axis set.