glutSolidCylinder

Hi,

I try to draw a cylinder under opengl and i get this error
‘glutWireCylinder’: identifier not found
The thing is that glutSolidSphere is working.

There are no Cylinder functions in glut. Check here.

You can use the gluCylinder function from the glu library or write your own Cylinder code. You can find a tutorial on glu quadrics here.

N.

Yes, unfortunately the original GLUT implementation doesn’t have cylinder drawing utilities.

I think maybe freeglut does, or try one of the other flavors?

Edit: Nico beat me to it :wink:

Ok,I see…
Thanks both of you…