summaryrefslogtreecommitdiffstats
path: root/src/render/backend
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@theqtcompany.com>2015-12-10 17:37:00 +0100
committerSean Harmer <sean.harmer@kdab.com>2015-12-11 20:37:11 +0000
commit31ca4a7d17d84deb05f80053f0f1874da894b840 (patch)
treebae081ccc1795544acf4d6905351e03d17193a40 /src/render/backend
parent2ea648f08a4b935002d20abfafebf81f7b44a1ee (diff)
QTransform: Add convenience properties for Euler angle rotations
Since refactoring the QTransform API to enable matrix decomposition, it has become more inconvenient to apply rotation transforms through the QML API. This is due to the need to set QQuaternion values for the rotation property, which makes using the Qt Quick animation framework difficult. To remedy this, there are now some additional properties added to Qt3DCore::QTransform which enable direct usage of Euler angles instead of just QQuaternion. Internally the rotation property is still used by translating the Euler angle transforms to a QQuaternion. Change-Id: Iad48542a7b125f7615f7a69516fb10a973d8395b Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/backend')
0 files changed, 0 insertions, 0 deletions