View Full Version : I need a rotating and translating program

02-24-2010, 02:05 PM
I need a program which demonstrates translate and rotate functions in opengl. Coordinates should be in 3d. But the shape should be 2d. When clicking left button of the mouse there should appear two options: "1.translate" "2.rotate". When clicking those menus it should translate or rotate a triangle. Can you help me with that program?

02-24-2010, 02:27 PM
No offense, but is that homework or paid work ?
Read any tutorial about GLUT menus.
Then any tutorial about translations.
Then come back if you have *specific* problems.