Bug in OgreOdeGeometry

Turbo

10-05-2008 19:40:00

in functions envolving the setting of Offset Quaternions, the order in which the parameters are inserted into the quaternions to be passed to Ode, is wrong.

in "setOffsetQuaternion" and "setOffsetWorldQuaternion", Quaternion construction should be:

q[0] = quat.w;
q[1] = quat.x;
q[2] = quat.y;
q[3] = quat.z;


w comes first instead of last.

tuan kuranes

13-05-2008 15:47:48

Fixed in SVN. Thanks !