Advertisement

Rotation

Started by July 25, 2003 05:44 AM
0 comments, last by ludo8x 21 years, 6 months ago
I have a vertex in the origin (0,0,0) and i want to rotate it around an arbitrary axis and the position (10,0,0) (not around the origin). How can i make a matrix that do this transformation for me ? | | | | --------o----r--- | | | | | o = My vertex, r = center of rotation It''s always been my dream to draw an ASCII scheme like this =))
first translate by -10,0,0
then rotate by some angle
then back translate by 10,0,0

be yourself.

This topic is closed to new replies.

Advertisement