summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/lights
diff options
context:
space:
mode:
authorRobert Brock <robert.brock@kdab.com>2016-02-25 16:11:36 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-03-08 10:06:49 +0000
commitd95ca208ca1fdbcfad64ec6e0948640d601eaa98 (patch)
tree3d55ffe02d14a4b100861a75e12df34faf4b4ef3 /examples/qt3d/lights
parent9bd2568b35072ef4431550f5477484fa3b789d4b (diff)
QDirectionalLight renamed direction to worldDirection
As per API review Change-Id: Ida081aa126ec285c090b244b3bf6abf579108feb Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/lights')
-rw-r--r--examples/qt3d/lights/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/lights/main.qml b/examples/qt3d/lights/main.qml
index 338cc1c9b..7bf1f15d1 100644
--- a/examples/qt3d/lights/main.qml
+++ b/examples/qt3d/lights/main.qml
@@ -80,7 +80,7 @@ Entity
components: [
DirectionalLight {
color: Qt.rgba(0.8, 0.8, 0.8, 1.0)
- direction: Qt.vector3d(-1, -1, 0)
+ worldDirection: Qt.vector3d(-1, -1, 0)
}
]
}