How to draw an Arc?

Hi all, I am new to openGL having only used GDI+ before. It appears that the way to draw an Arc is to break it up in small line segments, is this the correct way?
May be there is a method that I have missed, I am programming a 3D cad system.



Hi !

OpenGL does not have support for circles or arcs, even though GLU has some support for disks and so on.

One way is as you say to break it up in smaller line segments yourself, and if you just want an arc that is probably the best way, another way is to use the bezier/spline curves in GLU to render your arc.


Thanks for clearing up this situation