diff options
author | Yuya Nishihara <yuya.nishihara@qt.io> | 2021-07-15 16:14:29 +0900 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-15 10:53:39 +0000 |
commit | 471ef0565a2e81f2dbcf67be1f96e986688ac1c5 (patch) | |
tree | 51214bcf5409370ee8414d6de1fee5b27ff100b3 | |
parent | b555b6fb555bf623319382583299ba63726dfa36 (diff) |
Doc: Fix application order of Node.eulerRotation6.0
Since we use QQuaternion for conversion, the order should be z, x, y.
Change-Id: I82e77241ace7890d75e07486285b871643196b8f
Reviewed-by: Inho Lee <inho.lee@qt.io>
(cherry picked from commit e81e566408e18cbf4ee88fee66b373c61c324d1b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/quick3d/qquick3dnode.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/quick3d/qquick3dnode.cpp b/src/quick3d/qquick3dnode.cpp index f65a22ac..c50e4afd 100644 --- a/src/quick3d/qquick3dnode.cpp +++ b/src/quick3d/qquick3dnode.cpp @@ -973,7 +973,9 @@ void QQuick3DNode::markAllDirty() This property contains the rotation values for the x, y, and z axis. These values are stored as a vector3d. Rotation order is assumed to - be XYZ. + be ZXY. + + \sa QQuaternion::fromEulerAngles() */ QVector3D QQuick3DNode::eulerRotation() const |