diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2018-04-30 12:50:35 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2018-04-30 12:50:35 +0100 |
commit | 9e27cc3d7565d7c98957a517ecad8257a86265cd (patch) | |
tree | 66f708ab2bda59a1a39b16feebab8653f11cb28b | |
parent | 60c18086bc2657cdf8d3aab80fdae4ad52172a73 (diff) | |
download | faqe-9e27cc3d7565d7c98957a517ecad8257a86265cd.tar.gz faqe-9e27cc3d7565d7c98957a517ecad8257a86265cd.tar.xz faqe-9e27cc3d7565d7c98957a517ecad8257a86265cd.zip |
Fix model matrix being transposed.
-rw-r--r-- | faqe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |