diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2015-11-07 19:02:14 +0000 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2015-11-17 19:41:18 +0000 |
commit | 26a118cfbce29014864f6cdddae66cccb65ffb4f (patch) | |
tree | daea9f2fc41c1df586c35cd56daa61f920ce5b58 /examples/qt3d/skybox | |
parent | ace675a084ab944a245500b9f54be653126c3147 (diff) |
Remove transforms property of QTransform
Compound transformations are now built up using QMatrix4x4 in both QML
and C++. Updating examples accordingly.
Change-Id: I03c9abf1f6cdd1b56226dc0e16a7ad5ce84516dd
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/skybox')
-rw-r--r-- | examples/qt3d/skybox/Skybox.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/qt3d/skybox/Skybox.qml b/examples/qt3d/skybox/Skybox.qml index 0d69c3434..f040ba5a7 100644 --- a/examples/qt3d/skybox/Skybox.qml +++ b/examples/qt3d/skybox/Skybox.qml @@ -39,7 +39,7 @@ import Qt3D.Render 2.0 Entity { - property alias cameraPosition: cameraTranslate.translation; + property alias cameraPosition: transform.translation; property string sourceDirectory: ""; property string extension: ".webp" @@ -80,7 +80,6 @@ Entity { Transform { id: transform - Translate { id: cameraTranslate } } Material { |