12 lines
202 B
Text
12 lines
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;
|
||
|
}
|