mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 20:34:58 +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 (j = 0; j < n; j++)
|
||||
fprintf(ostream, "\t%0.2f,", matrix[i][j]);;
|
||||
fprintf(ostream, "\t%0.2f,", matrix[j][i]);;
|
||||
|
||||
fprintf(ostream, "\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user