diff options
| author | Mel <einebeere@gmail.com> | 2024-02-01 23:56:57 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-02-01 23:56:57 +0100 |
| commit | 7b061aee2b4c15d242bb9f18101d6b9ea776c5cd (patch) | |
| tree | 66ef0166efb36146a58075e2e21e8c1c36fbd927 /src/Common/Casts.hpp | |
| parent | 7b107078a2a3b9f62a076f91e873f5ad0597d167 (diff) | |
| download | meowcraft-7b061aee2b4c15d242bb9f18101d6b9ea776c5cd.tar.zst meowcraft-7b061aee2b4c15d242bb9f18101d6b9ea776c5cd.zip | |
Walking movement
Diffstat (limited to 'src/Common/Casts.hpp')
| -rw-r--r-- | src/Common/Casts.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Common/Casts.hpp b/src/Common/Casts.hpp new file mode 100644 index 0000000..c2c7088 --- /dev/null +++ b/src/Common/Casts.hpp @@ -0,0 +1,3 @@ +#pragma once + +#define TO(type, value) (static_cast<type>(value)) \ No newline at end of file |
