diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-06-27 15:02:47 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-06-30 09:15:40 +0000 |
| commit | 10d46c19c5be3430415eeb8463f1853e3b838683 (patch) | |
| tree | 34fb82d4dd2af12b9d09adf2a65f344039a78213 /src/corelib/io/qfsfileengine.cpp | |
| parent | 9b9ebbc0c25753ddaca8825d69e1a6f747fa4ce4 (diff) | |
tst_QQuaternion: fix spelling of 'expected'
As a drive-by:
- replace direct by copy initialization and reflow the line with the
ternary
- make objects const
- don't compute the cross product twice; it's anti-commutative, so if
a × b is 0, then so is b × a = -(a × b).
Amends 95d034a14f78aaefd6990de180f715c8b4d510b1.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I4dc4582854b3d93a6e3468e8b19afe28d77c6c1c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/io/qfsfileengine.cpp')
0 files changed, 0 insertions, 0 deletions
