Function transpose

  • Takes the transpose of a matrix.

    Parameters

    • m: Mat4

      The matrix.

    • Optional dst: Mat4

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

    Returns Mat4

    The transpose of m.