aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_common.h
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-11 13:05:17 -0400
committeriamcheeseman <[email protected]>2026-05-11 13:05:17 -0400
commit8a91b5adccbb24a17ff69e81d08f3e6dad4f9fda (patch)
treec1ca776d7c45e861e033ea948cf938de772d06d2 /teensy/teensy_common.h
parent2c27120a61631dffd4527db8b1349379d53ccc3b (diff)
rotated iamges
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_