calculate a rotation matrix around an arbitrary axis through the origin in 3D
calculate a rotation matrix around an arbitrary axis in 3D
rotaxisMat(u, theta, homogeneous = FALSE)
u |
a vector around which to rotate |
theta |
angle in radians to rotate |
homogeneous |
logical: if TRUE a 4x4 rotation matrix is returned |
returns 3x3 rotation matrix
http://en.wikipedia.org/wiki/Rotation_matrix
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.