瀏覽代碼

typo in shader

Should be mat4 or mat4x4, not mat44
Stephen Olsen 10 年之前
父節點
當前提交
d113bea69a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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"
 
       #ifndef STBVOX_CONFIG_OPENGL_MODELVIEW
-         "uniform mat44 model_view;\n"
+         "uniform mat4x4 model_view;\n"
       #endif
 
       // fragment output data