CGII/framework/shader/plot/glsl/plot1d.glvs
2018-05-17 16:01:02 +02:00

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;
}