yeh im slightly embarrassed by the amount of time it took me to set these up, but i have no maths books that cover anything outside of high-school and almost every online source i found was either converting quaternions to matrices or was using a different Euler order than GS. wikipedia had the best information i could find, but it wasn't working so i tried other stuff. in the end, wikipedia had the most accurate info, except i needed to change a positive value to a negative, and almost everything was solved.

another issue i had was the lack of an atan2 function in GS, but i just wrote a basic replacement (which you will find in quaternions.c). jcl said a proper atan2 function will be implemented in a future update, so in that case mine will probably have to be commented out to prevent crashes in that update.

julz

EDIT: 300 posts! senior member now

Last edited by JulzMighty; 03/01/07 01:47.

Formerly known as JulzMighty.
I made KarBOOM!