Hey, i really like this SDL stuff. I'm learning a lot faster than i did with GLUT.
I just have a question about images. Is tehre anyway i can draw an imported image on the screen, but rotated a certain amount of degrees?
Gavin
Hi everyone, i'm new here :)
Quote:Original post by Gavinl
Hey, i really like this SDL stuff. I'm learning a lot faster than i did with GLUT.
I just have a question about images. Is tehre anyway i can draw an imported image on the screen, but rotated a certain amount of degrees?
Gavin
If you just want to rotate the image as a whole just call
glRotatef(45.0f, 0.0f, 0.0f, 1.0f);
That will rotate your polygon by 45 on Z axis.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement