summaryrefslogtreecommitdiffstats
path: root/src/gui/math3d/qmatrix4x4.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-08 15:02:23 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-08 15:06:29 (GMT)
commitb358143b7eb5dc3d76a09e501914fa00d0c3876c (patch)
tree667cbc611126753d90ef533853dfe0e4ac3abfe4 /src/gui/math3d/qmatrix4x4.cpp
parentcf7ca87e057ef3810c5db36ff975a98f532a8dc0 (diff)
downloadQt-b358143b7eb5dc3d76a09e501914fa00d0c3876c.zip
Qt-b358143b7eb5dc3d76a09e501914fa00d0c3876c.tar.gz
Qt-b358143b7eb5dc3d76a09e501914fa00d0c3876c.tar.bz2
Define M_PI in qmath.h if not defined by math.h (as is the case on Windows), and remove duplicate defines elsewhere.
Diffstat (limited to 'src/gui/math3d/qmatrix4x4.cpp')
-rw-r--r--src/gui/math3d/qmatrix4x4.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/math3d/qmatrix4x4.cpp b/src/gui/math3d/qmatrix4x4.cpp
index 9fe487b..b998353 100644
--- a/src/gui/math3d/qmatrix4x4.cpp
+++ b/src/gui/math3d/qmatrix4x4.cpp
@@ -1004,10 +1004,6 @@ QMatrix4x4& QMatrix4x4::rotate(qreal angle, const QVector3D& vector)
#endif
-#ifndef M_PI
-#define M_PI 3.14159265358979323846
-#endif
-
/*!
\overload