Lines Matching defs:LineWidth
23 static GLfloat LineWidth = 10.0;
56 glUniform1f(uLineWidth, LineWidth);
60 glLineWidth(LineWidth);
133 LineWidth -= 0.5;
134 if (LineWidth < 1.0)
135 LineWidth = 1.0;
136 printf("Line width: %f\n", LineWidth);
139 LineWidth += 0.5;
140 if (LineWidth > MaxLineWidth)
141 LineWidth = MaxLineWidth;
142 printf("Line width: %f\n", LineWidth);
206 "uniform float LineWidth; \n"
212 " vec2 d0 = vec2(LineWidth * pos0.w) * InverseViewportSize; \n"
213 " vec2 d1 = vec2(LineWidth * pos1.w) * InverseViewportSize; \n"
291 uLineWidth = glGetUniformLocation(Program, "LineWidth");