summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-12 21:11:39 +0100
committerGitHub <noreply@github.com>2017-11-12 21:11:39 +0100
commit51ffd452026236431eb8eced345ed36d053c247f (patch)
treec07a50b94ec0454451c96d3752755b78d770d5d5 /core
parente9392dd876181c58ebdc309be84cbf397784e87b (diff)
parent91ca725f9b5a4a77ca70024e3bb73b7c7821a530 (diff)
Merge pull request #12627 from Goutte/feat-support-tau
Add support for TAU constant.
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