diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2015-11-04 20:42:58 +0000 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2015-11-17 19:41:15 +0000 |
commit | ace675a084ab944a245500b9f54be653126c3147 (patch) | |
tree | 583e228b207b7cd7c7e63c38bcfe57fc7b5419ec /src/quick3d/imports/render/defaults/qml | |
parent | 77164ead9970263a65aac4689f14dcbbc10b3246 (diff) |
Setting matrix property to decompose to S, R, T
Updating the matrix property now decomposes the matrix to
calculate the scale, rotation and translation properties that
get sent to the backend.
The test example will be updated to show how to build a matrix
from a series of "sub transformations" in an imperative way. This
will reinforce in the API the fact that we can't decompose an
affine transform into an arbitrary set of sub transforms. That is
the API will emphasise the one way nature.
The decomposition functions were provided by Konstantin Ritt.
Note: mouse picking unit tests skipped for now
Change-Id: Ibc259dacac7a3dc32f4b03b375607291d998601c
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/quick3d/imports/render/defaults/qml')
0 files changed, 0 insertions, 0 deletions