View Full Version : Semicircle

11-17-2004, 03:29 AM
Whats the function to draw a semicircle in opengl? Im using GLUT with C. Thanks

11-18-2004, 05:48 PM
OpenGL has no function to draw a semicircle. You would draw a semicircle using a series of triangles to approximate a circle with math calculations to compute the verex coordinates.

You could use the GLU utility function (from a related but separate library) gluPartialDisk.

Here's a description of that function: