Sythe Dragon
01-21-2010, 09:46 AM
Hello first time poster here with a problem with gluCylinder and gluNewQuadric.
I'm attempting to create a cylinder to act as a wheel for my cannon, however i'm so far unsure as to how to create a new quadric. This is how i've attempted it so far (and have been met with a humongus ammount of compiler errors!)
void wheel()
{
GLUquadric*gluNewQuadric();
void gluQuadricNormals(GLUquadric *wheel1, GLenum GL_SMOOTH)
gluCylinder(wheel1, 1.0, 1.0, 0.4, 1, 16);
}
Thank you
I'm attempting to create a cylinder to act as a wheel for my cannon, however i'm so far unsure as to how to create a new quadric. This is how i've attempted it so far (and have been met with a humongus ammount of compiler errors!)
void wheel()
{
GLUquadric*gluNewQuadric();
void gluQuadricNormals(GLUquadric *wheel1, GLenum GL_SMOOTH)
gluCylinder(wheel1, 1.0, 1.0, 0.4, 1, 16);
}
Thank you