Add M_PI to maths, to allow compilation on C++
C++ does not specify `M_PI`, so this change is required to allow for compilation.
This commit is contained in:
parent
b6d0b7d876
commit
401906673d
@ -9,6 +9,10 @@
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifndef M_PI
|
||||
# define M_PI 3.14159265358979323846264338327950288
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The one true circumference-to-radius ratio.
|
||||
* See http://tauday.com/tau-manifesto
|
||||
|
Loading…
Reference in New Issue
Block a user