summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archive/src/maths/maths_types.h5
-rw-r--r--include/celeritas.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/archive/src/maths/maths_types.h b/archive/src/maths/maths_types.h
index 66d260d..e1dff9c 100644
--- a/archive/src/maths/maths_types.h
+++ b/archive/src/maths/maths_types.h
@@ -9,11 +9,6 @@
#include "defines.h"
-// --- Constants
-#define PI 3.14159265358979323846
-#define HALF_PI 1.57079632679489661923
-#define TAU (2.0 * PI)
-
// --- Types
/** @brief 2D Vector */
diff --git a/include/celeritas.h b/include/celeritas.h
index edd7a4b..b8b0a93 100644
--- a/include/celeritas.h
+++ b/include/celeritas.h
@@ -99,6 +99,11 @@ bool should_exit();
// --- Maths
+// Constants
+#define PI 3.14159265358979323846
+#define HALF_PI 1.57079632679489661923
+#define TAU (2.0 * PI)
+
/** @brief 3D Vector */
typedef struct Vec3 {
f32 x, y, z;