I had to brush up on my trigonometry to solve some mapping issues, and found this nice overview. Strange how much I have forgotten about these things, I really need to get back to my linear algebra books! I never really understood the point of learning those vector transformation things back when I studied maths, but now as I have to implement some 3d gesture models I see that it is actually very useful.