Sign in to follow this  
phil67rpg

draw circle

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

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