Fix normals to normal

This commit is contained in:
Maxime Gimeno 2019-03-15 16:07:52 +01:00
parent 38828181aa
commit 0059f92326
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ const char vertex_source_color_comp[] =
" mv_matrix_3[0] = mv_matrix[0].xyz; \n"
" mv_matrix_3[1] = mv_matrix[1].xyz; \n"
" mv_matrix_3[2] = mv_matrix[2].xyz; \n"
" fN = mv_matrix_3* normals; \n"
" fN = mv_matrix_3* normal; \n"
" fColor = vec4(color, 1.0); \n"
" gl_PointSize = point_size;\n"
" gl_Position = mvp_matrix * vertex;\n"