qt5base-lts/src/gui/math3d
Edward Welbourne 8095c33bcd Use qRadiansToDegrees() and qDegreesToRadians() more widely
Especially in examples, where we should show off our convenience
functions, prefer calling these functions over doing arithmetic with
M_PI (or approximations thereto) and 180 (give or take simple
factors).  This incidentally documents what's going on, just by the
name of the function used (and reveals at least one place where
variables were misnamed; the return from atan is in radians, *not*
degrees).

Task-number: QTBUG-58083
Change-Id: I6e5d66721cafab423378f970af525400423e971e
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2017-07-05 10:15:34 +00:00
..
math3d.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qgenericmatrix.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qgenericmatrix.h Move Q_REQUIRED_RESULT to its correct position 2017-04-20 05:40:59 +00:00
qmatrix4x4.cpp Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
qmatrix4x4.h QMatrix4x4: fix aliasing problem in operator*= 2017-04-14 12:29:35 +00:00
qquaternion.cpp Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
qquaternion.h Move Q_REQUIRED_RESULT to its correct position 2017-04-20 05:40:59 +00:00
qvector2d.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qvector2d.h Move Q_REQUIRED_RESULT to its correct position 2017-04-20 05:40:59 +00:00
qvector3d.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qvector3d.h Add -Wfloat-equal to Qt's header clean check 2017-03-07 10:51:54 +00:00
qvector4d.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qvector4d.h Move Q_REQUIRED_RESULT to its correct position 2017-04-20 05:40:59 +00:00