summaryrefslogtreecommitdiffstats
path: root/src/gui/math3d
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/math3d')
-rw-r--r--src/gui/math3d/qgenericmatrix.cpp6
-rw-r--r--src/gui/math3d/qmatrix4x4.cpp8
-rw-r--r--src/gui/math3d/qquaternion.cpp14
-rw-r--r--src/gui/math3d/qvector2d.cpp10
-rw-r--r--src/gui/math3d/qvector3d.cpp10
-rw-r--r--src/gui/math3d/qvector4d.cpp10
6 files changed, 29 insertions, 29 deletions
diff --git a/src/gui/math3d/qgenericmatrix.cpp b/src/gui/math3d/qgenericmatrix.cpp
index 575cd0bf61..1ccafa051b 100644
--- a/src/gui/math3d/qgenericmatrix.cpp
+++ b/src/gui/math3d/qgenericmatrix.cpp
@@ -101,7 +101,7 @@ QT_BEGIN_NAMESPACE
/*!
\fn bool QGenericMatrix::isIdentity() const
- Returns true if this matrix is the identity; false otherwise.
+ Returns \c true if this matrix is the identity; false otherwise.
\sa setToIdentity()
*/
@@ -153,13 +153,13 @@ QT_BEGIN_NAMESPACE
/*!
\fn bool QGenericMatrix::operator==(const QGenericMatrix<N, M, T>& other) const
- Returns true if this matrix is identical to \a other; false otherwise.
+ Returns \c true if this matrix is identical to \a other; false otherwise.
*/
/*!
\fn bool QGenericMatrix::operator!=(const QGenericMatrix<N, M, T>& other) const
- Returns true if this matrix is not identical to \a other; false otherwise.
+ Returns \c true if this matrix is not identical to \a other; false otherwise.
*/
/*!
diff --git a/src/gui/math3d/qmatrix4x4.cpp b/src/gui/math3d/qmatrix4x4.cpp
index 11132e84bb..0b3c5b4cb9 100644
--- a/src/gui/math3d/qmatrix4x4.cpp
+++ b/src/gui/math3d/qmatrix4x4.cpp
@@ -300,7 +300,7 @@ QMatrix4x4::QMatrix4x4(const QTransform& transform)
/*!
\fn bool QMatrix4x4::isIdentity() const
- Returns true if this matrix is the identity; false otherwise.
+ Returns \c true if this matrix is the identity; false otherwise.
\sa setToIdentity()
*/
@@ -634,14 +634,14 @@ QMatrix4x4& QMatrix4x4::operator/=(float divisor)
/*!
\fn bool QMatrix4x4::operator==(const QMatrix4x4& other) const
- Returns true if this matrix is identical to \a other; false otherwise.
+ Returns \c true if this matrix is identical to \a other; false otherwise.
This operator uses an exact floating-point comparison.
*/
/*!
\fn bool QMatrix4x4::operator!=(const QMatrix4x4& other) const
- Returns true if this matrix is not identical to \a other; false otherwise.
+ Returns \c true if this matrix is not identical to \a other; false otherwise.
This operator uses an exact floating-point comparison.
*/
@@ -792,7 +792,7 @@ QMatrix4x4 operator/(const QMatrix4x4& matrix, float divisor)
\fn bool qFuzzyCompare(const QMatrix4x4& m1, const QMatrix4x4& m2)
\relates QMatrix4x4
- Returns true if \a m1 and \a m2 are equal, allowing for a small
+ Returns \c true if \a m1 and \a m2 are equal, allowing for a small
fuzziness factor for floating-point comparisons; false otherwise.
*/
diff --git a/src/gui/math3d/qquaternion.cpp b/src/gui/math3d/qquaternion.cpp
index d042d9812a..d721674eb6 100644
--- a/src/gui/math3d/qquaternion.cpp
+++ b/src/gui/math3d/qquaternion.cpp
@@ -133,16 +133,16 @@ QT_BEGIN_NAMESPACE
/*!
\fn bool QQuaternion::isNull() const
- Returns true if the x, y, z, and scalar components of this
- quaternion are set to 0.0; otherwise returns false.
+ Returns \c true if the x, y, z, and scalar components of this
+ quaternion are set to 0.0; otherwise returns \c false.
*/
/*!
\fn bool QQuaternion::isIdentity() const
- Returns true if the x, y, and z components of this
+ Returns \c true if the x, y, and z components of this
quaternion are set to 0.0, and the scalar component is set
- to 1.0; otherwise returns false.
+ to 1.0; otherwise returns \c false.
*/
/*!
@@ -394,7 +394,7 @@ QQuaternion QQuaternion::fromAxisAndAngle
\fn bool operator==(const QQuaternion &q1, const QQuaternion &q2)
\relates QQuaternion
- Returns true if \a q1 is equal to \a q2; otherwise returns false.
+ Returns \c true if \a q1 is equal to \a q2; otherwise returns \c false.
This operator uses an exact floating-point comparison.
*/
@@ -402,7 +402,7 @@ QQuaternion QQuaternion::fromAxisAndAngle
\fn bool operator!=(const QQuaternion &q1, const QQuaternion &q2)
\relates QQuaternion
- Returns true if \a q1 is not equal to \a q2; otherwise returns false.
+ Returns \c true if \a q1 is not equal to \a q2; otherwise returns \c false.
This operator uses an exact floating-point comparison.
*/
@@ -482,7 +482,7 @@ QQuaternion QQuaternion::fromAxisAndAngle
\fn bool qFuzzyCompare(const QQuaternion& q1, const QQuaternion& q2)
\relates QQuaternion
- Returns true if \a q1 and \a q2 are equal, allowing for a small
+ Returns \c true if \a q1 and \a q2 are equal, allowing for a small
fuzziness factor for floating-point comparisons; false otherwise.
*/
diff --git a/src/gui/math3d/qvector2d.cpp b/src/gui/math3d/qvector2d.cpp
index 7446d27dab..a56e23eb72 100644
--- a/src/gui/math3d/qvector2d.cpp
+++ b/src/gui/math3d/qvector2d.cpp
@@ -124,8 +124,8 @@ QVector2D::QVector2D(const QVector4D& vector)
/*!
\fn bool QVector2D::isNull() const
- Returns true if the x and y coordinates are set to 0.0,
- otherwise returns false.
+ Returns \c true if the x and y coordinates are set to 0.0,
+ otherwise returns \c false.
*/
/*!
@@ -335,7 +335,7 @@ float QVector2D::dotProduct(const QVector2D& v1, const QVector2D& v2)
\fn bool operator==(const QVector2D &v1, const QVector2D &v2)
\relates QVector2D
- Returns true if \a v1 is equal to \a v2; otherwise returns false.
+ Returns \c true if \a v1 is equal to \a v2; otherwise returns \c false.
This operator uses an exact floating-point comparison.
*/
@@ -343,7 +343,7 @@ float QVector2D::dotProduct(const QVector2D& v1, const QVector2D& v2)
\fn bool operator!=(const QVector2D &v1, const QVector2D &v2)
\relates QVector2D
- Returns true if \a v1 is not equal to \a v2; otherwise returns false.
+ Returns \c true if \a v1 is not equal to \a v2; otherwise returns \c false.
This operator uses an exact floating-point comparison.
*/
@@ -418,7 +418,7 @@ float QVector2D::dotProduct(const QVector2D& v1, const QVector2D& v2)
\fn bool qFuzzyCompare(const QVector2D& v1, const QVector2D& v2)
\relates QVector2D
- Returns true if \a v1 and \a v2 are equal, allowing for a small
+ Returns \c true if \a v1 and \a v2 are equal, allowing for a small
fuzziness factor for floating-point comparisons; false otherwise.
*/
diff --git a/src/gui/math3d/qvector3d.cpp b/src/gui/math3d/qvector3d.cpp
index 226483c227..7e3ed7c61b 100644
--- a/src/gui/math3d/qvector3d.cpp
+++ b/src/gui/math3d/qvector3d.cpp
@@ -144,8 +144,8 @@ QVector3D::QVector3D(const QVector4D& vector)
/*!
\fn bool QVector3D::isNull() const
- Returns true if the x, y, and z coordinates are set to 0.0,
- otherwise returns false.
+ Returns \c true if the x, y, and z coordinates are set to 0.0,
+ otherwise returns \c false.
*/
/*!
@@ -438,7 +438,7 @@ float QVector3D::distanceToLine
\fn bool operator==(const QVector3D &v1, const QVector3D &v2)
\relates QVector3D
- Returns true if \a v1 is equal to \a v2; otherwise returns false.
+ Returns \c true if \a v1 is equal to \a v2; otherwise returns \c false.
This operator uses an exact floating-point comparison.
*/
@@ -446,7 +446,7 @@ float QVector3D::distanceToLine
\fn bool operator!=(const QVector3D &v1, const QVector3D &v2)
\relates QVector3D
- Returns true if \a v1 is not equal to \a v2; otherwise returns false.
+ Returns \c true if \a v1 is not equal to \a v2; otherwise returns \c false.
This operator uses an exact floating-point comparison.
*/
@@ -524,7 +524,7 @@ float QVector3D::distanceToLine
\fn bool qFuzzyCompare(const QVector3D& v1, const QVector3D& v2)
\relates QVector3D
- Returns true if \a v1 and \a v2 are equal, allowing for a small
+ Returns \c true if \a v1 and \a v2 are equal, allowing for a small
fuzziness factor for floating-point comparisons; false otherwise.
*/
diff --git a/src/gui/math3d/qvector4d.cpp b/src/gui/math3d/qvector4d.cpp
index 2247e95d5e..691551367f 100644
--- a/src/gui/math3d/qvector4d.cpp
+++ b/src/gui/math3d/qvector4d.cpp
@@ -157,8 +157,8 @@ QVector4D::QVector4D(const QVector3D& vector, float wpos)
/*!
\fn bool QVector4D::isNull() const
- Returns true if the x, y, z, and w coordinates are set to 0.0,
- otherwise returns false.
+ Returns \c true if the x, y, z, and w coordinates are set to 0.0,
+ otherwise returns \c false.
*/
/*!
@@ -378,7 +378,7 @@ float QVector4D::dotProduct(const QVector4D& v1, const QVector4D& v2)
\fn bool operator==(const QVector4D &v1, const QVector4D &v2)
\relates QVector4D
- Returns true if \a v1 is equal to \a v2; otherwise returns false.
+ Returns \c true if \a v1 is equal to \a v2; otherwise returns \c false.
This operator uses an exact floating-point comparison.
*/
@@ -386,7 +386,7 @@ float QVector4D::dotProduct(const QVector4D& v1, const QVector4D& v2)
\fn bool operator!=(const QVector4D &v1, const QVector4D &v2)
\relates QVector4D
- Returns true if \a v1 is not equal to \a v2; otherwise returns false.
+ Returns \c true if \a v1 is not equal to \a v2; otherwise returns \c false.
This operator uses an exact floating-point comparison.
*/
@@ -463,7 +463,7 @@ float QVector4D::dotProduct(const QVector4D& v1, const QVector4D& v2)
\fn bool qFuzzyCompare(const QVector4D& v1, const QVector4D& v2)
\relates QVector4D
- Returns true if \a v1 and \a v2 are equal, allowing for a small
+ Returns \c true if \a v1 and \a v2 are equal, allowing for a small
fuzziness factor for floating-point comparisons; false otherwise.
*/