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

-NiCo-

12-20-2007, 12:09 PM

There are no Cylinder functions in glut. Check here (http://www.opengl.org/resources/libraries/glut/glut-3.spec.pdf).

You can use the gluCylinder function from the glu (http://www.opengl.org/documentation/specs/glu/glu1_3.pdf) library or write your own Cylinder code. You can find a tutorial on glu quadrics here (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=18).