mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
fix print mat4
This commit is contained in:
@@ -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