Rotate an object

Started by
2 comments, last by Monte6 22 years ago
I created a rectangle which is in horizontal position. Now I want to rotate it by an angle of 45 degrees, so after rotation it is inclined and stationary. How can this be done?
Advertisement
Use glRotatef(). Look it up.

Death of one is a tragedy, death of a million is just a statistic.
If at first you don't succeed, redefine success.
But how can I specify an angle???
Read The F-

Check the docs on glRotate in MSDN, or Google it.

Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions

This topic is closed to new replies.

Advertisement