1 
2 const char data_sha_particles_vs[] = ""
3 "attribute vec2 pos;\n"
4 "attribute float size;\n"
5 "attribute vec2 corner;\n"
6 "attribute vec4 color;\n"
7 "\n"
8 "varying vec2 Texcoord;\n"
9 "varying vec4 Color;\n"
10 "\n"
11 "void main()\n"
12 "{	\n"
13 "  Texcoord = corner;\n"
14 "  Color = color;\n"
15 "  gl_Position = gl_ProjectionMatrix * vec4(pos + ( (corner-0.5) * size),0.0,1.0);\n"
16 "}\n"
17 ;
18 
19