diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-25 19:29:32 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-25 19:29:32 (GMT) |
commit | 965639a06e624534f4ad8e869fea7b2df33a657d (patch) | |
tree | 41f8a2ff57285122ae4f4081b53d1ba7d25bf0f1 /src/gui/math3d | |
parent | 7bd3b2655bf11d829f2bae26b75a757d9b30aa03 (diff) | |
download | Qt-965639a06e624534f4ad8e869fea7b2df33a657d.zip Qt-965639a06e624534f4ad8e869fea7b2df33a657d.tar.gz Qt-965639a06e624534f4ad8e869fea7b2df33a657d.tar.bz2 |
Doc: Document that coordinates are dropped.
Diffstat (limited to 'src/gui/math3d')
-rw-r--r-- | src/gui/math3d/qvector3d.cpp | 6 | ||||
-rw-r--r-- | src/gui/math3d/qvector4d.cpp | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/math3d/qvector3d.cpp b/src/gui/math3d/qvector3d.cpp index 881f47c..c1f5a3e 100644 --- a/src/gui/math3d/qvector3d.cpp +++ b/src/gui/math3d/qvector3d.cpp @@ -513,7 +513,8 @@ QVector4D QVector3D::toVector4D() const /*! \fn QPoint QVector3D::toPoint() const - Returns the QPoint form of this 3D vector. + Returns the QPoint form of this 3D vector. The z coordinate + is dropped. \sa toPointF(), toVector2D() */ @@ -521,7 +522,8 @@ QVector4D QVector3D::toVector4D() const /*! \fn QPointF QVector3D::toPointF() const - Returns the QPointF form of this 3D vector. + Returns the QPointF form of this 3D vector. The z coordinate + is dropped. \sa toPoint(), toVector2D() */ diff --git a/src/gui/math3d/qvector4d.cpp b/src/gui/math3d/qvector4d.cpp index 1a84db6..ae03bc7 100644 --- a/src/gui/math3d/qvector4d.cpp +++ b/src/gui/math3d/qvector4d.cpp @@ -484,7 +484,8 @@ QVector3D QVector4D::toVector3DAffine() const /*! \fn QPoint QVector4D::toPoint() const - Returns the QPoint form of this 4D vector. + Returns the QPoint form of this 4D vector. The z and w coordinates + are dropped. \sa toPointF(), toVector2D() */ @@ -492,7 +493,8 @@ QVector3D QVector4D::toVector3DAffine() const /*! \fn QPointF QVector4D::toPointF() const - Returns the QPointF form of this 4D vector. + Returns the QPointF form of this 4D vector. The z and w coordinates + are dropped. \sa toPoint(), toVector2D() */ |