diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2021-11-14 14:38:06 -0500 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-11-14 14:38:06 -0500 |
commit | fd3c1e74e7ebe9125b98dba311efcbe73e89859e (patch) | |
tree | 0adb39252bb0e86a45a456971b5253edd7237014 /shared_cpp/mathlib.h | |
parent | 5c613a10364f30bd6add25f7950433f0c482c3ca (diff) |
(mkosarek) Working on undamped and damped
Diffstat (limited to 'shared_cpp/mathlib.h')
-rw-r--r-- | shared_cpp/mathlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared_cpp/mathlib.h b/shared_cpp/mathlib.h index 0a39195..fd21ae2 100644 --- a/shared_cpp/mathlib.h +++ b/shared_cpp/mathlib.h @@ -18,6 +18,7 @@ #define ABS(x) (x < 0 ? -x : x) #define SIGN(x) (x < 0 ? -1 : 1) #define PI 3.141592653589793238463 +#define E 2.71828182845904523536 #define DEG_TO_RAD(x) (x * (PI / 180.f)) #define RAD_TO_DEG(x) (x * (180.f / PI)) |