Reputation: 1474
Can somebody give full source code of drawing a sphere with OPENGL?
Upvotes: 3
Views: 2086
Reputation: 137148
gluSphere(quadric,radius,slices,stacks);
Source
You need to have created the quadrics object with gluNewQuadric.
gluNewQuadric
Upvotes: 2