fix print mat4

This commit is contained in:
Recep Aslantas committed 2016-09-12 08:34:42 +03:00
1 parent 4aecc0b3e2
commit 99481985d4
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ glm_mat4_print(mat4 matrix,
for (i = 0; i < m; i++) {
for (j = 0; j < n; j++)
fprintf(ostream, "\t%0.2f,", matrix[i][j]);;
fprintf(ostream, "\t%0.2f,", matrix[j][i]);;
fprintf(ostream, "\n");
}