|
-
Jun 16th, 2002, 12:31 PM
#1
Rotating GL_QUADS
I'm making a cube spin on my own. This is just practice before I start coding for my game. I've read in my book that I can use glRotatef to rotate any three axis. But if I do this won't it rotate every cube on the screen because they're all affected my the axis rotation. How can I rotate just one cube. Or better yet how can I rotate its corner coordinates.
I guess I'm asking if OGL has a rotation function for vectors not the axis, any ideas? Also, if not, does anyone have any samples/tutorials that would help me with this?
Thanks!
NOMAD
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|