summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGoutte <antoine.goutenoir@gmail.com>2017-11-04 10:34:27 +0100
committerGoutte <antoine.goutenoir@gmail.com>2017-11-12 13:32:35 +0100
commit91ca725f9b5a4a77ca70024e3bb73b7c7821a530 (patch)
tree25e9405df87017425863586ae8ab3f6c756577c5 /core
parentc1855dcff14a118828de16e850b0698dc76b25e9 (diff)
Add support for the TAU constant. Fixes #12094.
Diffstat (limited to 'core')
-rw-r--r--core/math/math_funcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h
index d5135fe414..bc0b3717ed 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -39,6 +39,7 @@
#include <math.h>
#define Math_PI 3.14159265358979323846
+#define Math_TAU 6.28318530717958647692
#define Math_SQRT12 0.7071067811865475244008443621048490
#define Math_LN2 0.693147180559945309417
#define Math_INF INFINITY