source: orange/Orange/OrangeWidgets/Visualize Qt/edge.vs @ 9671:a7b056375472

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

Moved orange to Orange (part 2)

Line 
1/*
2 * Used by Canvas3D to render edges between nodes.
3 */
4
5attribute vec3 position;
6
7uniform mat4 projection, model, view;
8uniform vec3 translation, scale;
9
10void main()
11{
12    gl_Position = projection * model * view * vec4((position+translation)*scale, 1.);
13}
Note: See TracBrowser for help on using the repository browser.