summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simple-qml/main.qml
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire350@gmail.com>2015-12-05 18:05:39 +0100
committerSean Harmer <sean.harmer@kdab.com>2015-12-07 19:07:22 +0000
commita48bf6131e07efc178d4175df7eee9704ca97826 (patch)
tree5f1825813ab77bcc8860dfda947c3cc4d1b70d93 /examples/qt3d/simple-qml/main.qml
parentdb9571c4d1625da730e6055f8c1f9ff6f4cfd414 (diff)
simple-qml: CameraController implementation using the new Input API
Change-Id: I934a2b3b96db2be8d582059651338b69c4175320 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/simple-qml/main.qml')
-rw-r--r--examples/qt3d/simple-qml/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/simple-qml/main.qml b/examples/qt3d/simple-qml/main.qml
index 3f1236c44..f9cd23687 100644
--- a/examples/qt3d/simple-qml/main.qml
+++ b/examples/qt3d/simple-qml/main.qml
@@ -53,8 +53,8 @@ Entity {
viewCenter: Qt.vector3d( 0.0, 0.0, 0.0 )
}
- Configuration {
- controlledCamera: camera
+ CameraController {
+ camera: camera
}
components: [