Rotate a vector around another vector?

Miscellaneous Forums/General Discussion/Rotate a vector around another vector?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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/