Circular rotation around an arbitrary axis

http://en.wikipedia.org/wiki/Rotation_matrix. Look under the section Rotation matrix from axis and angle. For your convenience, here’s the matrix you need. It’s a bit hairy. theta is the angle, and ux, uy, and uz are the x, y, and z components of the normalized axis vector

Here's the rotation matrix

If you don’t understand matrices and vectors, post back and I’ll help you.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)