diff options
| author | Kai Köhne <kai.koehne@qt.io> | 2022-06-10 17:34:41 +0200 |
|---|---|---|
| committer | Kai Köhne <kai.koehne@qt.io> | 2022-06-15 21:31:02 +0200 |
| commit | 9d2cc4dd766ca6538e17040b6ac845ed880ab0fe (patch) | |
| tree | a674c1f10c2bb266b2cff88ef3d6d864ed932212 /src/gui/math3d/qquaternion.cpp | |
| parent | 37bad1f43b33a460f402f16280719d3b49dd7b24 (diff) | |
Fix typos in docs and comments
Found by codespell
Pick-to: 6.4
Change-Id: Ie3e301a23830c773a2e9aff487c702a223d246eb
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/math3d/qquaternion.cpp')
| -rw-r--r-- | src/gui/math3d/qquaternion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/math3d/qquaternion.cpp b/src/gui/math3d/qquaternion.cpp index dba72d3e100..018f6fb731a 100644 --- a/src/gui/math3d/qquaternion.cpp +++ b/src/gui/math3d/qquaternion.cpp @@ -460,7 +460,7 @@ void QQuaternion::getEulerAngles(float *pitch, float *yaw, float *roll) const // "A tutorial on SE(3) transformation parameterizations and on-manifold optimization". // We can only detect Gimbal lock when we normalize, which we can't do when - // length is nearly zero. Do so before multiplying co-ordinates, to avoid + // length is nearly zero. Do so before multiplying coordinates, to avoid // underflow. const float len = length(); const bool rescale = !qFuzzyIsNull(len); |
