Tips for using the linear maths library

User avatar
shotgunnutter
Posts: 17
Joined: Thu Nov 01, 2007 2:13 am

Tips for using the linear maths library

Post by shotgunnutter »

Hi,

I am currently using my own homebrew linear maths system, however I would like to replace it with the one from the 2.68 release. To start off, I need the ability to rotate a vector by a quaternion. Supposing I need the following functions:

multiply vector by quaternion
vector + vector
dot product
cross product
matrix * matrix

Which headers should I include? I assume I also need to link with the LinearMaths lib.

Thanks for any advice.