diff options
author | Laszlo Papp <lpapp@kde.org> | 2013-01-23 13:49:50 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-25 17:56:55 +0100 |
commit | 855b0d5049d770856788b53e2218b2fca255edfc (patch) | |
tree | 0db00d6d55186c22cf1b057a03cde2a55b60417d /src/gui | |
parent | 64134181db034055dbcd7dfacff087abdb29d591 (diff) |
Fix a typo and make the QQuaternion constructor documentation even more explicit
Change-Id: I913ef98b706f29f1bab7564d6d6fff0a91ebfdc0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/math3d/qquaternion.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/math3d/qquaternion.cpp b/src/gui/math3d/qquaternion.cpp index b02715e390..d042d9812a 100644 --- a/src/gui/math3d/qquaternion.cpp +++ b/src/gui/math3d/qquaternion.cpp @@ -66,7 +66,8 @@ QT_BEGIN_NAMESPACE /*! \fn QQuaternion::QQuaternion() - Constructs an identity quaternion, i.e. with coordinates (1, 0, 0, 0). + Constructs an identity quaternion (1, 0, 0, 0), i.e. with the vector (0, 0, 0) + and scalar 1. */ /*! @@ -257,7 +258,7 @@ QQuaternion QQuaternion::normalized() const } /*! - Normalizes the currect quaternion in place. Nothing happens if this + Normalizes the current quaternion in place. Nothing happens if this is a null quaternion or the length of the quaternion is very close to 1. \sa length(), normalized() |