gluCylinder

I’ve been working on a 3d Scene, and I am rendering a cylinder this way:

void DrawGLCyl()
{
glTranslatef(-7.5f,15.0,-9.5f);
glRotatef(xrot,1.0f,0.0f,0.0f);
gluCylinder(quadratic,0.8f,1.0f,30.0f,32,32);
xrot=90.0f;
}

This makes the sphere apear to be “standing up” I was wondering if there was a better way to do this. Or is this method Optimal?