ma3 swap rows/columns

This commit is contained in:
Recep Aslantas
2016-10-16 20:45:58 +03:00
parent bb3067ebfb
commit f4b0d2bdde
2 changed files with 41 additions and 1 deletions

View File

@@ -482,7 +482,7 @@ glm_mat4_swap_row(mat4 mat, int row1, int row2) {
mat[0][row2] = tmp[0];
mat[1][row2] = tmp[1];
mat[2][row2] = tmp[2];;
mat[2][row2] = tmp[2];
mat[3][row2] = tmp[3];
}