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>
This commit is contained in:
parent
f5846130de
commit
595b6bbeb1
@ -457,7 +457,7 @@ QQuaternion QQuaternion::fromAxisAndAngle
|
|||||||
\since 5.5
|
\since 5.5
|
||||||
\overload
|
\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.
|
that corresponds to this quaternion.
|
||||||
|
|
||||||
\sa fromEulerAngles()
|
\sa fromEulerAngles()
|
||||||
@ -468,9 +468,9 @@ QQuaternion QQuaternion::fromAxisAndAngle
|
|||||||
\since 5.5
|
\since 5.5
|
||||||
\overload
|
\overload
|
||||||
|
|
||||||
Creates a quaternion that corresponds to a rotation of
|
Creates a quaternion that corresponds to a rotation of \a eulerAngles:
|
||||||
\a eulerAngles.z() degrees around the z axis, \a eulerAngles.x() degrees around the x axis,
|
eulerAngles.z() degrees around the z axis, eulerAngles.x() degrees around the x axis,
|
||||||
and \a eulerAngles.y() degrees around the y axis (in that order).
|
and eulerAngles.y() degrees around the y axis (in that order).
|
||||||
|
|
||||||
\sa toEulerAngles()
|
\sa toEulerAngles()
|
||||||
*/
|
*/
|
||||||
|
@ -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
|
component of the vector components takes place. To prevent dividing by 0 if
|
||||||
w equals to 0, it is set to 1.
|
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.
|
expects the bottom to be 0 whereas for Qt top is 0.
|
||||||
|
|
||||||
\sa project()
|
\sa project()
|
||||||
|
@ -2760,7 +2760,7 @@ void QOpenGLShaderProgram::setUniformValueArray
|
|||||||
should be used when setting an array of sampler values.
|
should be used when setting an array of sampler values.
|
||||||
|
|
||||||
\note This function is not aware of unsigned int support in modern OpenGL
|
\note This function is not aware of unsigned int support in modern OpenGL
|
||||||
versions and therefore treats \a value as a GLint and calls glUniform1iv.
|
versions and therefore treats \a values as a GLint and calls glUniform1iv.
|
||||||
|
|
||||||
\sa setAttributeValue()
|
\sa setAttributeValue()
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user