diff options
author | Inho Lee <inho.lee@qt.io> | 2021-05-10 15:32:26 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-06-01 19:51:59 +0000 |
commit | 98fcf3cb611fe895e6998726ae39bdd30512c98b (patch) | |
tree | 4b8c44652fad3f65724d576da537991625248c7b /examples/xml/streambookmarks/xbelreader.h | |
parent | 91ec6b19883cd64231a69c2df7fbc3a0d641576d (diff) |
QtGui/math3d : Fix QQuaternion::getEulerAngles
When rotating M_PI_2 based on x-axis, quaternion to euler conversion
makes NaN for the x-rotation value. This patch fixes this corner case.
Fixes: QTBUG-93600
Change-Id: Ice321a80ad90dba9cf3ee3a14ec7d3d047c21bd3
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
(cherry picked from commit 7ea2fbddcf674d49ad7d219cdb8a4b760258360c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/xml/streambookmarks/xbelreader.h')
0 files changed, 0 insertions, 0 deletions