summaryrefslogtreecommitdiff
path: root/src/util/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/math.h')
-rw-r--r--src/util/math.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/util/math.h b/src/util/math.h
index 084dfd1..5ef822e 100644
--- a/src/util/math.h
+++ b/src/util/math.h
@@ -1,2 +1,9 @@
+// This file is part of the 64k demo project.
+// It provides shared mathematical utilities and constants.
+// Used across both audio and graphics subsystems.
+
#pragma once
-#define PI 3.14159265f
+
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif \ No newline at end of file