From 99481985d46c2bb336ead37f3c6eb76940303124 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Mon, 12 Sep 2016 08:34:42 +0300 Subject: [PATCH] fix print mat4 --- include/cglm-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cglm-util.h b/include/cglm-util.h index e76281f..c181186 100644 --- a/include/cglm-util.h +++ b/include/cglm-util.h @@ -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"); }