--- trunk/OOPSE-4/src/math/Quaternion.hpp 2004/10/17 01:19:11 1586 +++ trunk/OOPSE-4/src/math/Quaternion.hpp 2004/10/18 17:07:27 1592 @@ -205,8 +205,8 @@ namespace oopse{ * Returns the corresponding rotation matrix (3x3) * @return a 3x3 rotation matrix */ - SquareMatrix toRotationMatrix3() { - SquareMatrix rotMat3; + SquareMatrix toRotationMatrix3() { + SquareMatrix rotMat3; Real w2; Real x2; @@ -268,7 +268,7 @@ namespace oopse{ * @note for a quaternion q, 1/q = q.inverse() */ template - Quaternion operator /(const Quaternion& s, const Quaternion& q) { + Quaternion operator /(const Real& s, const Quaternion& q) { Quaternion x = q.inv(); return x * s;