Rotating-Polygon is a project mainly written in SHELL and C++, it's free.
Rotating a polygon using OpenGL and GLUT
Anthony Wlodarski, [email protected].
This demo illustrates dealing with orthogonal matrices (fancy term for setting clipping planes). It also illustrates the use of glutKeyboardFunc() and rotating a polygon in space.
Enjoy!