12 lines
No EOL
202 B
Text
12 lines
No EOL
202 B
Text
#version 150 compatibility
|
|
|
|
out vec4 color;
|
|
|
|
vec4 map_plot_to_screen(in vec2 pnt);
|
|
|
|
void main()
|
|
{
|
|
// transform vertex to clip space
|
|
gl_Position = map_plot_to_screen(gl_Vertex.xy);
|
|
color = gl_Color;
|
|
} |