]> git.tdb.fi Git - libs/math.git/commit
Use numeric literals in place of M_PI
authorMikko Rasa <tdb@tdb.fi>
Fri, 16 Sep 2016 22:38:05 +0000 (01:38 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 16 Sep 2016 22:38:05 +0000 (01:38 +0300)
commit540bea4f0254725c003c73f7340c1d48ac0c86f5
treeda1ec3c347cb279c9f357dddf066d192aae8ac73
parent7d43d93ac2d701bb3de87cdf81e44c03e64c35c3
Use numeric literals in place of M_PI

Recent Windows headers require _USE_MATH_DEFINES to be #defined in order
to #define M_PI, but we can't guarantee that someone else won't #include
<cmath> before us.
source/geometry/angle.h