aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/curve/opengl/shader/attributes.glsl
blob: c4d9db5359037a3d35bd63b03d31d8180c18772a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#ifndef attributes_glsl
#define attributes_glsl

// attribute vec3    gca_Vertices;
attribute vec4    gca_Vertices;

/**
 * CDTriangulator2D.extractBoundaryTriangles(..):
 *     AA line (exp)   : z > 0
 *     line            : x ==   0, y == 0
 *     hole or holeLike: 0 > y
 *     !hole           : 0 < y 
 *      
 *     0   == gcv_TexCoord.x : vertex-0 of triangle
 *     0.5 == gcv_TexCoord.x : vertex-1 of triangle
 *     1   == gcv_TexCoord.x : vertex-2 of triangle
 */
attribute vec3    gca_TexCoords;

//attribute vec4    gca_Colors;
//attribute vec3    gca_Normals;

#endif // attributes_glsl