diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-02-20 14:56:17 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-02-25 11:36:44 +0000 |
commit | 595b6bbeb15b786b945f0a11ae7189e12d8b4f58 (patch) | |
tree | ad30a962652e641311934ed64f7be751cb2571bc /src/gui/math3d | |
parent | f5846130de5c68f761abe2ea03bbef5aac8ccb42 (diff) |
QtGui: Fix some qdoc-warnings.
qtbase/src/gui/math3d/qquaternion.cpp:466: warning: Undocumented parameter 'eulerAngles' in QQuaternion::fromEulerAngles()
qtbase/src/gui/math3d/qquaternion.cpp:466: warning: No such parameter 'eulerAngles.y()' in QQuaternion::fromEulerAngles()
qtbase/src/gui/math3d/qquaternion.cpp:466: warning: No such parameter 'eulerAngles.x()' in QQuaternion::fromEulerAngles()
qtbase/src/gui/math3d/qquaternion.cpp:466: warning: No such parameter 'eulerAngles.z()' in QQuaternion::fromEulerAngles()
qtbase/src/gui/math3d/qquaternion.cpp:455: warning: No such parameter 'pitch' in QQuaternion::toEulerAngles()
qtbase/src/gui/math3d/qquaternion.cpp:455: warning: No such parameter 'roll' in QQuaternion::toEulerAngles()
qtbase/src/gui/math3d/qquaternion.cpp:455: warning: No such parameter 'yaw' in QQuaternion::toEulerAngles()
qtbase/src/gui/opengl/qopenglshaderprogram.cpp:2757: warning: No such parameter 'value' in QOpenGLShaderProgram::setUniformValueArray()
Change-Id: Ib825ecb0db798380d97414ca3c3eba8bee3ab6ea
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/math3d')
-rw-r--r-- | src/gui/math3d/qquaternion.cpp | 8 | ||||
-rw-r--r-- | src/gui/math3d/qvector3d.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/math3d/qquaternion.cpp b/src/gui/math3d/qquaternion.cpp index f2e79cb834..5d73e54a26 100644 --- a/src/gui/math3d/qquaternion.cpp +++ b/src/gui/math3d/qquaternion.cpp @@ -457,7 +457,7 @@ QQuaternion QQuaternion::fromAxisAndAngle \since 5.5 \overload - Calculates \a roll, \a pitch, and \a yaw Euler angles (in degrees) + Calculates roll, pitch, and yaw Euler angles (in degrees) that corresponds to this quaternion. \sa fromEulerAngles() @@ -468,9 +468,9 @@ QQuaternion QQuaternion::fromAxisAndAngle \since 5.5 \overload - Creates a quaternion that corresponds to a rotation of - \a eulerAngles.z() degrees around the z axis, \a eulerAngles.x() degrees around the x axis, - and \a eulerAngles.y() degrees around the y axis (in that order). + Creates a quaternion that corresponds to a rotation of \a eulerAngles: + eulerAngles.z() degrees around the z axis, eulerAngles.x() degrees around the x axis, + and eulerAngles.y() degrees around the y axis (in that order). \sa toEulerAngles() */ diff --git a/src/gui/math3d/qvector3d.cpp b/src/gui/math3d/qvector3d.cpp index a93d994a70..ced4ac9d73 100644 --- a/src/gui/math3d/qvector3d.cpp +++ b/src/gui/math3d/qvector3d.cpp @@ -420,7 +420,7 @@ QVector3D QVector3D::project(const QMatrix4x4 &modelView, const QMatrix4x4 &proj component of the vector components takes place. To prevent dividing by 0 if w equals to 0, it is set to 1. - \note y coordinates in \a point should use OpenGL orientation. OpenGL + \note y coordinates in \a viewport should use OpenGL orientation. OpenGL expects the bottom to be 0 whereas for Qt top is 0. \sa project() |