3D Cone Orientation

Trying to represent a database using different shapes, cubes and spheres are easy enough but all of the cones I have generated are at a 90 degree angel, all on their side. I have messed around with the variables but nothing has changed and I can’t seem to find how to fix this problem anywhere.
The following line of code is the only line to do with the creation of the cones.

glutSolidCone(12.0, 20.0, 10, 10); //(base, height, GLint Slices, GLint stacks)

Any help would be appreciated, thanks

GlutSolidCone I believe is drawn at a 90 degree angle. Changing th variables will do nothing to the rotation. You must rotate the object before drawing.