Function transpose

  • Takes the transpose of a matrix.

    Parameters

    • m: Mat3

      The matrix.

    • Optional dst: Mat3

      matrix to hold result. If not passed a new one is created.

    Returns Mat3

    The transpose of m.