From 37084e19a685cb029fa49a78e4bafe8dd07ab634 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 24 Dec 2017 04:34:11 -0600 Subject: switching math to just double and not double long --- src/math.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/math.h') diff --git a/src/math.h b/src/math.h index 40121ea..7e65047 100644 --- a/src/math.h +++ b/src/math.h @@ -3,9 +3,11 @@ #include "common.h" //should define c3_t -#define __USE_GNU #include -#undef __USE_GNU + +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif real distance2(c2_t p1,c2_t p2); c2_t rotate_c2(c2_t p1,c2_t p2,radians dr); -- cgit v1.2.3