mirror of
https://github.com/recp/cglm.git
synced 2026-06-06 14:23:38 -05:00
fix print mat4
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ glm_mat4_print(mat4 matrix,
|
|||||||
|
|
||||||
for (i = 0; i < m; i++) {
|
for (i = 0; i < m; i++) {
|
||||||
for (j = 0; j < n; j++)
|
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");
|
fprintf(ostream, "\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user