View Full Version : Semicircle
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:
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.