summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
Diffstat (limited to 'AK')
-rw-r--r--AK/ExtraMathConstants.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/AK/ExtraMathConstants.h b/AK/ExtraMathConstants.h
new file mode 100644
index 0000000000..907306f45c
--- /dev/null
+++ b/AK/ExtraMathConstants.h
@@ -0,0 +1,11 @@
+/*
+ * Copyright (c) 2021, the SerenityOS developers.
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#pragma once
+
+#define M_TAU 6.28318530717958647692
+#define M_DEG2RAD 0.01745329251994329576
+#define M_RAD2DEG 57.2957795130823208767