transpose
Transposes the given 4x4 matrix m
and stores the result in result
.
The transpose operation flips the matrix over its diagonal, switching the row and column indices of the matrix elements.
Parameters
result
The matrix to store the transposed result.
m
The input matrix to transpose.