source: orange/Orange/OrangeWidgets/Visualize Qt/value-lines.vs @ 9671:a7b056375472

Revision 9671:a7b056375472, 358 bytes checked in by anze <anze.staric@…>, 2 years ago (diff)

Moved orange to Orange (part 2)

RevLine 
[8928]1attribute vec3 position;
2attribute vec3 color;
3attribute vec3 normal;
4
5varying vec4 var_color;
6
7uniform mat4 projection;
8uniform mat4 modelview;
9uniform float value_line_length;
10uniform vec3 plot_scale;
11
12void main(void)
13{
14    gl_Position = projection * modelview * vec4(position*plot_scale + normal*value_line_length, 1.);
15    var_color = vec4(color, 1.);
16}
Note: See TracBrowser for help on using the repository browser.