From d113bea69a84b1440227db923a4a5fc7c1456e1b Mon Sep 17 00:00:00 2001 From: Stephen Olsen Date: Wed, 4 Nov 2015 14:02:33 -0600 Subject: [PATCH] typo in shader Should be mat4 or mat4x4, not mat44 --- stb_voxel_render.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_voxel_render.h b/stb_voxel_render.h index 29f6fb7..9767078 100644 --- a/stb_voxel_render.h +++ b/stb_voxel_render.h @@ -1590,7 +1590,7 @@ static const char *stbvox_vertex_program = "uniform vec3 normal_table[32];\n" #ifndef STBVOX_CONFIG_OPENGL_MODELVIEW - "uniform mat44 model_view;\n" + "uniform mat4x4 model_view;\n" #endif // fragment output data