Function getAxis

  • Returns an axis of a 4x4 matrix as a vector with 3 entries

    Type Parameters

    Parameters

    • m: BaseArgType

      The matrix.

    • axis: number

      The axis 0 = x, 1 = y, 2 = z;

    • Optional dst: T

    Returns number[] | T

    The axis component of m.