Once we have defined the geometry for approximating the circle, it is a simple matter to change it to a disk. We simply change the constant passed to glBegin from GL_LINE_LOOP to GL_POLYGON. Note that we have reduced the angle increment to 5 so as to get a smoother boundary.