How can i rotate around a specific vector

Started by
1 comment, last by GaRaOne 21 years, 10 months ago
How can i rotate around a specific vector... i have an object with its own X Axis. If I want to rotate the object around this axis, then i have to change the X Y and Z Rotations around the MainAxis before i draw it. Or is their a way, to rotate around a specific vector? (i want no rotationmatrix, which rotates vectors around a vector, my problem is the drawing of the object) sorry about my english... is not one of my best skills
Advertisement
glRotatef(angle, x, y, z) where x, y, z are the components of your specific vector.

------------
- outRider -
thx...
i large step to the goal for me...

This topic is closed to new replies.

Advertisement