FIRST:
>
glBegin(GL_LINE_LOOP);
glColor3f(0.0f,0.0f,1.0f);
for (int i=0; i<sk; i++){
glVertex2f((float)ok[i][0],(float)ok[i][1]);
}
glEnd();
The int ok[][] array (sk is the array's size) has the given vertices,I want to draw the inside of triangles in blue color. When I try with GL_POLYGON the output is this :
WITH GL_POLYGON:
I want to draw just the inside of the blue line to fill these triangles.