diff options
| author | Elijah Thomas <elijahthomas774@gmail.com> | 2023-10-06 07:49:50 -0400 |
|---|---|---|
| committer | Elijah Thomas <elijahthomas774@gmail.com> | 2023-10-06 07:49:50 -0400 |
| commit | 4ae5fe5753537264872e09562acb2e853dd41850 (patch) | |
| tree | 079b314512b286f666376a05abaafbb49b0c99f9 /include/egg/math/eggMath.h | |
| parent | 99d473d1aaecbd343871793e1c2002c89f08e227 (diff) | |
Fix includes and removed libs folder
Diffstat (limited to 'include/egg/math/eggMath.h')
| -rw-r--r-- | include/egg/math/eggMath.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/egg/math/eggMath.h b/include/egg/math/eggMath.h new file mode 100644 index 00000000..e0580140 --- /dev/null +++ b/include/egg/math/eggMath.h @@ -0,0 +1,25 @@ +#pragma once + +#include "types.h" + +namespace EGG +{ + +template <typename T> +class Math { +public: + static T sqrt(T); + static T sin(T); + static T cos(T); + static T acos(T); + static T atan2(T); +}; + +// f32 impls +// /* 8049ab60 */ Math<f32>::sqrt(f32); +// /* 8049abb0 */ Math<f32>::sin(f32); +// /* 8049abe0 */ Math<f32>::cos(f32); +// /* 8049ac10 */ Math<f32>::acos(f32); +// /* 8049ac40 */ Math<f32>::atan2(f32, f32); + +} // namespace EGG |
