diff options
author | epoch <epoch@hacking.allowed.org> | 2017-12-24 04:34:11 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-12-24 04:34:11 -0600 |
commit | 37084e19a685cb029fa49a78e4bafe8dd07ab634 (patch) | |
tree | 5d9f04ac3f8565569be7dd6708b1a48189b6f7a4 /src/math.h | |
parent | b8708f9c58e499db7afc2cb093c454c3b34895aa (diff) | |
download | hackvr-37084e19a685cb029fa49a78e4bafe8dd07ab634.tar.gz hackvr-37084e19a685cb029fa49a78e4bafe8dd07ab634.zip |
switching math to just double and not double long
Diffstat (limited to 'src/math.h')
-rw-r--r-- | src/math.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,9 +3,11 @@ #include "common.h" //should define c3_t -#define __USE_GNU #include <math.h> -#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); |