Horde3D
http://horde3d.org/forums/

Euler Angles Rotation Order
http://horde3d.org/forums/viewtopic.php?f=1&t=824
Page 1 of 1

Author:  user123 [ 22.06.2009, 15:47 ]
Post subject:  Euler Angles Rotation Order

Hi,
what is the rotation order for the euler angles in Horde3D?
I couldn't find anything about the rotation convention in the documentation.

Cheers

Author:  marciano [ 22.06.2009, 21:26 ]
Post subject:  Re: Euler Angles Rotation Order

Hi, the rotation order is YXZ [*Vec]

Author:  user123 [ 26.06.2009, 14:46 ]
Post subject:  Re: Euler Angles Rotation Order

Ok thanks.
Could anyone provide me with code for a function that converts a quaternion into the Euler angles needed for Horde3D?

Thanks in advance.

Author:  marciano [ 26.06.2009, 23:19 ]
Post subject:  Re: Euler Angles Rotation Order

Take a look at Matrix4f::RotMat in utMath.h. It builds a rotation matrix with the help of a quaternion. If you have a matrix, you can use Matrix4f::decompose to get the Euler angles from it.

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