• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 130
2
3float __foo(float x)
4{
5   return 6.0 * x;
6}
7
8float __bar(float x)
9{
10   return 3.0 * x;
11}
12
13float __blat(float x)
14{
15   return 2.0 * x;
16}
17
18void main()
19{
20   gl_Position = vec4(__foo(gl_Vertex.x), __bar(gl_Vertex.y), __blat(gl_Vertex.z), 1.0);
21}
22
23