Drawing connected lines with OpenGL
- by user146780
I'm drawing convex polygons with OpenGL. I then do the same thing but use GL_LINE_LOOP.
The problem I have is the lines are not always connected. How could I ensure that the lines are always connected?
In the photo below, Iv highlighted in green, the corners that are connected and in red, those that are not. I would like for them to be all like the green ones.
http://img249.imageshack.us/i/notconnected.png/
Thanks