Help drawing a disk

Can anyone help me draw a disk given the center (x,y,z) and the radius?

use quadratics. for a disk it would be:

 
gluDisk(quadratic,inner_radius,outter_radius,subdivitions,subdivitions);  

Thanks, I can now draw the disk, but it is not positioned correctly. My center is (10.0,20.0,2.0) and the radius is 2.0.

I used the following code:
gluDisk(quadratic,0.0,2.0,10.0,20.0);

Please assist.

Thanks

Have a peek at any OpenGL tutorial, it will explain how to do transformations, glTranslate() will come handy.

You also need to have a look at the gluDisk parameters, it has no information about position so you cannot specify it, you specify inner/outer radius and the number of triangles to us to create the disk.

Use glTranslate before calling gluDisk to set the position.

Mikael