Computer Science Canada Creating a sphere using GLUT |
Author: | 102jon [ Thu Dec 16, 2010 7:18 pm ] |
Post subject: | Creating a sphere using GLUT |
I'm working on a three body problem, but i'm having trouble using the glutSolidSphere function. Can anyone give me sample C++ source code that simply renders a single sphere? It would be greatly appreciated. |
Author: | Ultrahex [ Fri Dec 17, 2010 9:44 am ] | ||
Post subject: | Re: Creating a sphere using GLUT | ||
There is many examples of this on the web, and this is relatively simple to do... It sounds to me like this is for an assignment, however here is code that does something very similar to what you want.
|