glRotatefBlitzMax Forums/OpenGL Module/glRotatef
| Say I have a 64x64 image. I want to rotate that image to the right by 45.0 degrees (x?), and slant it backwards by 15.0 degrees (z?).|
How does glRotatef work? (an example would be nice)
Should I use glPushMatrix and glPopMatrix to get back to the unrotated state?
I can rotate it to the right.. but how do I tilt it back? (z = x?)
How can I retain the original position of the tile?
| I'm guessing,|
| Nope. I tried all combination's I could think of - including that..|
Doesn't matter anymore, I got it working using standard max2d transformation variables.
| I think it'd be like:|
or something like that.