summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmin Mesbah <mesbahamin@gmail.com>2017-12-18 00:28:57 -0800
committerAmin Mesbah <mesbahamin@gmail.com>2017-12-18 00:28:57 -0800
commit7a555e9d86177509a820eea9f8f1a6978376ab72 (patch)
tree6e5c0adc96cc8a848dc6b6318ccb5302886977fe
parent94fca2bb4d579ac4dbb51dc57ee395b29c21a887 (diff)
downloadohsp-7a555e9d86177509a820eea9f8f1a6978376ab72.zip
ohsp-7a555e9d86177509a820eea9f8f1a6978376ab72.tar.gz
Use a better Pi
-rw-r--r--src/game.h2
-rw-r--r--src/vector.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game.h b/src/game.h
index 1d1998c..cf1fec9 100644
--- a/src/game.h
+++ b/src/game.h
@@ -17,7 +17,7 @@
#define MS_PER_UPDATE (SECOND / UPDATES_PER_SECOND)
#ifndef M_PI
-#define M_PI 3.141592f
+#define M_PI 3.14159265358979f
#endif
#define COLOR_BACKGROUND 0x000000
diff --git a/src/vector.h b/src/vector.h
index f36eb92..601029f 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -5,7 +5,7 @@
#include <stdint.h>
#ifndef M_PI
-#define M_PI 3.141592f
+#define M_PI 3.14159265358979f
#endif
struct Vec2d