View Full Version : Semicircle
Whats the function to draw a semicircle in opengl? Im using GLUT with C. Thanks
dorbie
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:
http://www.hmug.org/man/3/gluPartialDisk.html
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.