hi -
I am just starting opengl and I wanted to create a simple program to rotate objects, so I planned to write a solar system where planets can rotate about its own axis as well as rotate around the sun.
So I created a matrix to store the planets axis, and I can get that to rotate fine my called glLoadMatrix. However I can't get the planets to rotate around the sun. The planet just stays in the middle of the screen and doesn't move.
Can anyone help me out please.
If you need more detail on my code, let me know.
Thanks