1
Support / Quaternion?
« on: May 18, 2007, 05:42:37 pm »
Hi,
The physics library which I am using returns rotations as Quaternions. I have very little experience in 3D math, and cannot see any obvious way to move that over to jPCT. Given a Quaternion as a javax.vecmath.Quat4f object, how can I use that to set an Object3D's rotation?
Thanks for any help!
The physics library which I am using returns rotations as Quaternions. I have very little experience in 3D math, and cannot see any obvious way to move that over to jPCT. Given a Quaternion as a javax.vecmath.Quat4f object, how can I use that to set an Object3D's rotation?
Thanks for any help!