How can i rotate around a specific vector
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
glRotatef(angle, x, y, z) where x, y, z are the components of your specific vector.
------------
- outRider -
------------
- outRider -
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement