heh, I thought I needed this the other day - luckily, I didn't.
Anyway, to rotate a vector around an arbitrary axis, I think will invovle constructing a rotation matrix which you multiply your vector by. Pretty sure you will be able to find out how to do it on this site:
http://www.euclideanspace.com/maths/
Anyway, to rotate a vector around an arbitrary axis, I think will invovle constructing a rotation matrix which you multiply your vector by. Pretty sure you will be able to find out how to do it on this site:
http://www.euclideanspace.com/maths/