qt6-bb10/examples/embedded
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
..
digiflip Updated license headers 2016-01-21 18:55:32 +00:00
flickable Updated license headers 2016-01-21 18:55:32 +00:00
flightinfo examples: remove some unneeded QStringRef::toString() calls 2017-04-07 14:35:04 +00:00
lightmaps Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
raycasting Be (somewhat more) consistent about the value of pi 2017-06-20 09:53:46 +00:00
styleexample Updated license headers 2016-01-21 18:55:32 +00:00
embedded.pro push feature conditionals down to subdirectories 2013-01-31 15:51:14 +01:00