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 Float64Array | T

    The axis component of m.