diff options
Diffstat (limited to 'examples/qt3d/simple-qml/main.qml')
-rw-r--r-- | examples/qt3d/simple-qml/main.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/qt3d/simple-qml/main.qml b/examples/qt3d/simple-qml/main.qml index 48db34618..9d25da81a 100644 --- a/examples/qt3d/simple-qml/main.qml +++ b/examples/qt3d/simple-qml/main.qml @@ -37,6 +37,7 @@ import QtQuick 2.2 as QQ2 import Qt3D.Core 2.0 import Qt3D.Render 2.0 +import Qt3D.Input 2.0 Entity { id: sceneRoot @@ -53,7 +54,7 @@ Entity { viewCenter: Qt.vector3d( 0.0, 0.0, 0.0 ) } - CameraController { + FirstPersonCameraController { camera: camera } |