diff options
Diffstat (limited to 'include/celeritas.h')
-rw-r--r-- | include/celeritas.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |