Function getAxis

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

    Type Parameters

    Parameters

    • m: BaseArgType

      The matrix.

    • axis: number

      The axis 0 = x, 1 = y,

    • Optional dst: T

    Returns T

    The axis component of m.