diff -r 56cd8111b7f7 -r 41300fa6a67c src/gui/math3d/qquaternion.cpp --- a/src/gui/math3d/qquaternion.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/src/gui/math3d/qquaternion.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -288,7 +288,7 @@ in 3D space. The following code: \code - QVector3D result = q.rotateVector(vector); + QVector3D result = q.rotatedVector(vector); \endcode is equivalent to the following: @@ -297,7 +297,7 @@ QVector3D result = (q * QQuaternion(0, vector) * q.conjugate()).vector(); \endcode */ -QVector3D QQuaternion::rotateVector(const QVector3D& vector) const +QVector3D QQuaternion::rotatedVector(const QVector3D& vector) const { return (*this * QQuaternion(0, vector) * conjugate()).vector(); }