annotate dragon.vert @ 14:62be2036f604

Read mesh vertices/faces information from "<modelfilename>.info" instead of having the values hardcoded.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 29 Oct 2019 12:48:36 +0200
parents 4d6fec8f0c64
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
4d6fec8f0c64 Implement optional support for vertex/fragment shaders. Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 void main()
4d6fec8f0c64 Implement optional support for vertex/fragment shaders. Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 {
4d6fec8f0c64 Implement optional support for vertex/fragment shaders. Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 gl_Position = ftransform();
4d6fec8f0c64 Implement optional support for vertex/fragment shaders. Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 }