Horde3D
http://horde3d.org/forums/

quaternion
http://horde3d.org/forums/viewtopic.php?f=3&t=844
Page 1 of 1

Author:  ljo [ 18.07.2009, 14:53 ]
Post subject:  quaternion

Please have a look at:

utMath.h:
Matrix4f( const Quaternion &q )

I think all coefficients mentioned need an extra factor off 2.0

Author:  marciano [ 19.07.2009, 10:56 ]
Post subject:  Re: quaternion

The 2.0 is a bit hidden but is given by x2, y2, and z2.
If that function were wrong we would not have any correct animations.

Author:  ljo [ 21.07.2009, 06:28 ]
Post subject:  Re: quaternion

Yes, I see it now, sorry.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/