diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-02 01:55:31 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-02 01:55:31 (GMT) |
commit | 02a8ba7ce8e5ca07ed8e3e83f10a18acd6e38a10 (patch) | |
tree | 6c4261c5066c2e07df0b530c28bbd3fe02cbe59b /src/gui/math3d/qmatrix4x4.h | |
parent | 215026062fb2156fe9b9d86b5c2e9999bd94be62 (diff) | |
download | Qt-02a8ba7ce8e5ca07ed8e3e83f10a18acd6e38a10.zip Qt-02a8ba7ce8e5ca07ed8e3e83f10a18acd6e38a10.tar.gz Qt-02a8ba7ce8e5ca07ed8e3e83f10a18acd6e38a10.tar.bz2 |
QMatrix4x4::scale(qreal,qreal) and QMatrix4x4::translate(qreal,qreal) methods
Diffstat (limited to 'src/gui/math3d/qmatrix4x4.h')
-rw-r--r-- | src/gui/math3d/qmatrix4x4.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/math3d/qmatrix4x4.h b/src/gui/math3d/qmatrix4x4.h index f946da8..79613a0 100644 --- a/src/gui/math3d/qmatrix4x4.h +++ b/src/gui/math3d/qmatrix4x4.h @@ -130,9 +130,11 @@ public: QMatrix4x4& translate(const QVector3D& vector); QMatrix4x4& rotate(qreal angle, const QVector3D& vector); #endif - QMatrix4x4& scale(qreal x, qreal y, qreal z = 1.0f); + QMatrix4x4& scale(qreal x, qreal y); + QMatrix4x4& scale(qreal x, qreal y, qreal z); QMatrix4x4& scale(qreal factor); - QMatrix4x4& translate(qreal x, qreal y, qreal z = 0.0f); + QMatrix4x4& translate(qreal x, qreal y); + QMatrix4x4& translate(qreal x, qreal y, qreal z); QMatrix4x4& rotate(qreal angle, qreal x, qreal y, qreal z = 0.0f); #ifndef QT_NO_QUATERNION QMatrix4x4& rotate(const QQuaternion& quaternion); |