Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


OpenGL OpenGL newb question

This topic is 5618 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

to draw a square, use glBegin( GL_QUADS ) instead of glBegin( GL_TRIANGLES ). as for the circle, there is no explicit support for circles in openGL

Share this post

Link to post
Share on other sites
Use a quad to make it a square, but you'll need quadrics to draw a circle. Look at nehe's tutorial on quadrics, and use a disc or flat cylindar.

-~-The Cow of Darkness-~-

[edited by - cowsarenotevil on March 2, 2003 7:34:55 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!