Horde3D

Next-Generation Graphics Engine
It is currently 13.05.2024, 21:52

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: quaternion
PostPosted: 18.07.2009, 14:53 
Offline

Joined: 22.06.2009, 13:40
Posts: 3
Please have a look at:

utMath.h:
Matrix4f( const Quaternion &q )

I think all coefficients mentioned need an extra factor off 2.0


Top
 Profile  
Reply with quote  
 Post subject: Re: quaternion
PostPosted: 19.07.2009, 10:56 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: quaternion
PostPosted: 21.07.2009, 06:28 
Offline

Joined: 22.06.2009, 13:40
Posts: 3
Yes, I see it now, sorry.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group