draw circle
Given the minimal info you've supplied, the simplest answer is probably to use immediate mode and GL_LINE_LOOP, along with the C++ cos() and sin() functions. If you need more info than that, you'll probably have to be more specific with your question.
Since it's not mentioned in either of the threads listed, gluDisk() will draw a circle.
GluDisk() Documentation
void gluDisk( GLUquadric* quad
, GLdouble inner
, GLdouble outer
, GLint slices
, GLint loops
);
Just make your inner value only slightly smaller than your outer value.
GluDisk() Documentation
void gluDisk( GLUquadric* quad
, GLdouble inner
, GLdouble outer
, GLint slices
, GLint loops
);
Just make your inner value only slightly smaller than your outer value.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement