View Full Version : ARCS
04-06-2003, 07:50 PM
Given startangle,endangle and radius,how can I draw an ARC in opengl? I need very urgently.Please mail me as early as possible.
04-06-2003, 08:06 PM
There is not to my knowledge a function in OpenGL to do what you ask.
Should be extremely easy for you to create a function which accepts the 3 parameters you mentioned and draw a set of lines to represent the arc.
You should be able to do it with gluPartialDisk:
The gluPartialDisk function draws an arc of a disk.
GLUquadricObj * qobj,
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.