Drawing curves

Started by
0 comments, last by JasonDav 21 years, 2 months ago
Is there a simple openGL function for drawing curves ? I know a curve can be simulated by drawing hundreds of small lines, but this seems tedious.
Advertisement
glBegin(...)
for (int x=0; x< 1000; x++)
glVertex(Curvex((float)x/1000),Curvey((float)x/1000),Curvez((float)x/1000));
glEnd();

hmmm not half bad...

This topic is closed to new replies.

Advertisement