summaryrefslogtreecommitdiff
path: root/tests/manual/scene3d/AnimatedEntity.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/scene3d/AnimatedEntity.qml')
-rw-r--r--tests/manual/scene3d/AnimatedEntity.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/scene3d/AnimatedEntity.qml b/tests/manual/scene3d/AnimatedEntity.qml
index 65ebd27b1..a23060e4d 100644
--- a/tests/manual/scene3d/AnimatedEntity.qml
+++ b/tests/manual/scene3d/AnimatedEntity.qml
@@ -16,7 +16,7 @@ Entity {
property bool validBounds: sphereMesh.implicitPointsValid
property vector3d sphereMinPt: sphereMesh.implicitMinPoint
property vector3d sphereMaxPt: sphereMesh.implicitMaxPoint
-
+ //! [0]
Camera {
id: camera
projectionType: CameraLens.PerspectiveProjection
@@ -27,6 +27,7 @@ Entity {
upVector: Qt.vector3d( 0.0, 1.0, 0.0 )
viewCenter: Qt.vector3d( 0.0, 0.0, 0.0 )
}
+ //! [0]
FirstPersonCameraController { camera: camera }