Sun-Earth-Moon-OpenGL

This is a Computer Graphics Project based on OpenGL where I created a 2D Projection of Sun, Earth, Moon with Earth revolving around the Sun and Moon revolving around the Earth.

I used 2D transformations like glTranslate, glRotate and glScaled to show the motion.