Explorar el Código

typo in shader

Should be mat4 or mat4x4, not mat44
Stephen Olsen hace 10 años
padre
commit
d113bea69a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      stb_voxel_render.h

+ 1 - 1
stb_voxel_render.h

@@ -1590,7 +1590,7 @@ static const char *stbvox_vertex_program =
       "uniform vec3 normal_table[32];\n"
       "uniform vec3 normal_table[32];\n"
 
 
       #ifndef STBVOX_CONFIG_OPENGL_MODELVIEW
       #ifndef STBVOX_CONFIG_OPENGL_MODELVIEW
-         "uniform mat44 model_view;\n"
+         "uniform mat4x4 model_view;\n"
       #endif
       #endif
 
 
       // fragment output data
       // fragment output data