Archived

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

WaterMelon34

OpenGL OpenGL newb question

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