doubts about cylinder


If i use the command glutWireCylinder(),there is an error as undeclared identifier.I am using glut37 .When i check the source code i notice that there is no procedure for cylinder in the source file.Which is the best version of GLUT to create the cylinder in opengl?

Seems exotic. even google does not find many sites, and my glut.h also has no glutWireCylinder. But would it be so hard to write the function yourseif?


You could use gluNewQuadric() and gluCylinder(). This does not even require glut.