Debian Codegraph @

qCC/shaders/DrawNormals/DrawNormals.vs

raw
1 attribute highp vec3 vertexIn;
2 attribute highp vec3 normal;
3
4 out Vertex
5 {
6 vec3 normal;
7 } vertex;
8
9 void main(void)
10 {
11 gl_Position = vec4(vertexIn, 1.0);
12 vertex.normal = normal;
13 }