PDA

View Full Version : doubts about cylinder



roselin
01-05-2004, 12:20 AM
hai,

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?

JanHH
01-05-2004, 01:17 AM
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?

Jan

flo
01-05-2004, 03:34 AM
You could use gluNewQuadric() and gluCylinder(). This does not even require glut.