aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/teensy_common.h')
-rw-r--r--teensy/teensy_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/teensy/teensy_common.h b/teensy/teensy_common.h
index dc631cb..ea52982 100644
--- a/teensy/teensy_common.h
+++ b/teensy/teensy_common.h
@@ -9,7 +9,9 @@
#include "teensy_log.h"
#include "teensy_mem.h"
-#define TY_PI 3.14
+#define TY_PI (3.1415926535897932384626433)
+#define TY_TAU (TY_PI * 2)
#define TY_DEG2RAD (180 / PI)
+#define TY_RAD2DEG (PI / 180)
#endif // TEENSY_COMMON_H_