In the book that i have, the code below shows something that resembles a circle, but in the picture theres 8 points and in the code only 4. my question is, how do i find out the other coordinates to make something that looks as much as possible like a circle.
You don’t need that last glVertex (after the loop) because the line loop will automatically be closed. Had you used GL_LINE_STRIP, then the final glVertex call would be necessary.
thanks all i will give that a try. also something else, if i dont use a for loop instead use the vertex coordiantes, i will need atleast 8 or more points to make something that looks like a circle, how do i find those points?
Originally posted by [TheFORCE]: thanks all i will give that a try. also something else, if i dont use a for loop instead use the vertex coordiantes, i will need atleast 8 or more points to make something that looks like a circle, how do i find those points?