diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-11-04 00:56:40 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-11-04 01:40:18 (GMT) |
commit | 79c6049ccaae4434add40d35b3e47a83ff4a102a (patch) | |
tree | b7dc1277998c24780bedb095af94a3ef465d5315 /tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp | |
parent | edc9acd6a0c082b7d6c7810700e77a9d990014c6 (diff) | |
download | Qt-79c6049ccaae4434add40d35b3e47a83ff4a102a.zip Qt-79c6049ccaae4434add40d35b3e47a83ff4a102a.tar.gz Qt-79c6049ccaae4434add40d35b3e47a83ff4a102a.tar.bz2 |
Incorporate API review feedback for math3d classes.
Reviewed-by: Sarah Smith
Diffstat (limited to 'tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp')
-rw-r--r-- | tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp b/tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp index d8ab06e..9b15ab1 100644 --- a/tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp +++ b/tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp @@ -259,7 +259,7 @@ void tst_QGraphicsTransform::rotation3d() // Check that "rotation" produces the 4x4 form of the 3x3 matrix. // i.e. third row and column are 0 0 1 0. - t.setIdentity(); + t.setToIdentity(); rotation.applyTo(&t); QMatrix4x4 r(expected); if (sizeof(qreal) == sizeof(float) && angle == 268) { @@ -274,7 +274,7 @@ void tst_QGraphicsTransform::rotation3d() rotation.setAxis(QVector3D(0, 0, 0)); rotation.setOrigin(QVector3D(10, 10, 0)); - t.setIdentity(); + t.setToIdentity(); rotation.applyTo(&t); QVERIFY(t.isIdentity()); @@ -337,7 +337,7 @@ void tst_QGraphicsTransform::rotation3dArbitraryAxis() // Check that "rotation" produces the 4x4 form of the 3x3 matrix. // i.e. third row and column are 0 0 1 0. - t.setIdentity(); + t.setToIdentity(); rotation.applyTo(&t); QMatrix4x4 r(expected); QVERIFY(qFuzzyCompare(t, r)); |