Sign in to follow this  

draw circle

This topic is 4273 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

This topic is 4273 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this