Rotate an object
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?
Use glRotatef(). Look it up.
Death of one is a tragedy, death of a million is just a statistic.
Death of one is a tragedy, death of a million is just a statistic.
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
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
Popular Topics
Advertisement