Quaternions XYZW and WXYZ

Started by
1 comment, last by pressgreen 11 years, 7 months ago
I'm using quaternions in my program. My layout for the quaternion is w,x,y,z. I am trying to set up physx in my program and it uses quaternions that are laid out x,y,z,w. if i wanted to over load the = operator for the two would does the order of the lay out matter? or would i just set them to equal like pairs. x=x y=y z=z w=w? or is there some mathematical reason why the lay out is important that i am unaware of?

Thanks
J-GREEN

Greenpanoply
Advertisement
Ni, the layout doesn't matter. Assigning component by component should work just fine.
Thanks for the help alvaro :)
J-GREEN

Greenpanoply

This topic is closed to new replies.

Advertisement