diff options
| author | Mel <einebeere@gmail.com> | 2023-07-08 03:25:44 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-07-08 03:25:44 +0200 |
| commit | fe2baedc760c2f29e2c720f6b1132a2de33c5430 (patch) | |
| tree | dfbe1c72a17805a3cab6e0d47433e9021890c9ca /src/Math/Constants.hpp | |
| parent | 41fbca10f6c6cdd9c1623f1347e7ecb40f5e7f59 (diff) | |
| download | meowcraft-fe2baedc760c2f29e2c720f6b1132a2de33c5430.tar.zst meowcraft-fe2baedc760c2f29e2c720f6b1132a2de33c5430.zip | |
Use own size types
Diffstat (limited to 'src/Math/Constants.hpp')
| -rw-r--r-- | src/Math/Constants.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Math/Constants.hpp b/src/Math/Constants.hpp index 9c62e94..7a712cc 100644 --- a/src/Math/Constants.hpp +++ b/src/Math/Constants.hpp @@ -1,8 +1,10 @@ #pragma once +#include "../Common/Sizes.hpp" + namespace Math { -constexpr double PI = 3.14159265358979323846; -constexpr double E = 2.71828182845904523536; +constexpr Real PI = 3.14159265358979323846; +constexpr Real E = 2.71828182845904523536; } \ No newline at end of file |
