From 9e27cc3d7565d7c98957a517ecad8257a86265cd Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Mon, 30 Apr 2018 12:50:35 +0100 Subject: Fix model matrix being transposed. --- faqe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faqe.c b/faqe.c index 3b857f2..6d674a5 100644 --- a/faqe.c +++ b/faqe.c @@ -129,7 +129,7 @@ int main(int argc, char **argv) mat4x4_rotate_X(model, model, secs * 3); mat4x4_rotate_Y(model, model, secs * 2); mat4x4_rotate_Z(model, model, secs * 4); - gl_uni_setm4fv(uni.model, 1, GL_TRUE, model[0]); + gl_uni_setm4fv(uni.model, 1, GL_FALSE, model[0]); model_render(&cube_model); gl_va_bind(0); -- cgit v1.2.3-54-g00ecf