Shahryar
Shahryar

Reputation: 1474

How to draw Sphere with OPENGL library?

Can somebody give full source code of drawing a sphere with OPENGL?

Upvotes: 3

Views: 2086

Answers (1)

ChrisF
ChrisF

Reputation: 137148

gluSphere(quadric,radius,slices,stacks);

Source

You need to have created the quadrics object with gluNewQuadric.

Upvotes: 2

Related Questions