qt5base-lts/examples/widgets/graphicsview/boxes
Allan Sandfeld Jensen 515e802ae2 Use C++ <cmath> instead of <math.h>
Including math.h can pollute the default namespace, and break
some compilers if cmath versions of the method are declared as using.

Switching to C++ math functions also greatly simplifies handling of
float qreal as C++ automatically chooses the right method.

[ChangeLog][QtCore][QtMath] qmath.h no longer includes math.h, so any
sources depending on that indirect inclusion may fail to build.

Change-Id: I4d0e331dafba354ec05dc5052e61ef4ff8d387fe
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
2015-02-16 16:21:15 +00:00
..
3rdparty Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
basic.fsh Update copyright headers 2015-02-11 06:49:51 +00:00
basic.vsh Update copyright headers 2015-02-11 06:49:51 +00:00
boxes.pro MSVC: Remove use of -Zm argument 2015-02-13 21:23:19 +00:00
boxes.qrc Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
cubemap_negx.jpg Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
cubemap_negy.jpg Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
cubemap_negz.jpg Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
cubemap_posx.jpg Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
cubemap_posy.jpg Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
cubemap_posz.jpg Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
dotted.fsh Update copyright headers 2015-02-11 06:49:51 +00:00
fresnel.fsh Update copyright headers 2015-02-11 06:49:51 +00:00
glass.fsh Update copyright headers 2015-02-11 06:49:51 +00:00
glbuffers.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
glbuffers.h Update copyright headers 2015-02-11 06:49:51 +00:00
glextensions.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
glextensions.h Update copyright headers 2015-02-11 06:49:51 +00:00
gltrianglemesh.h Update copyright headers 2015-02-11 06:49:51 +00:00
granite.fsh Update copyright headers 2015-02-11 06:49:51 +00:00
main.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
marble.fsh Update copyright headers 2015-02-11 06:49:51 +00:00
parameters.par Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
qt-logo.jpg New Qt logo 2014-11-05 08:10:42 +01:00
qt-logo.png New Qt logo 2014-11-05 08:10:42 +01:00
qtbox.cpp Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
qtbox.h Update copyright headers 2015-02-11 06:49:51 +00:00
reflection.fsh Update copyright headers 2015-02-11 06:49:51 +00:00
refraction.fsh Update copyright headers 2015-02-11 06:49:51 +00:00
roundedbox.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
roundedbox.h Update copyright headers 2015-02-11 06:49:51 +00:00
scene.cpp Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
scene.h Update copyright headers 2015-02-11 06:49:51 +00:00
smiley.png Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
square.jpg Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
trackball.cpp Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
trackball.h Update copyright headers 2015-02-11 06:49:51 +00:00
wood.fsh Update copyright headers 2015-02-11 06:49:51 +00:00