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/World/BlockSide.hpp | |
| parent | 41fbca10f6c6cdd9c1623f1347e7ecb40f5e7f59 (diff) | |
| download | meowcraft-fe2baedc760c2f29e2c720f6b1132a2de33c5430.tar.zst meowcraft-fe2baedc760c2f29e2c720f6b1132a2de33c5430.zip | |
Use own size types
Diffstat (limited to 'src/World/BlockSide.hpp')
| -rw-r--r-- | src/World/BlockSide.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/World/BlockSide.hpp b/src/World/BlockSide.hpp index 57d3c68..69df159 100644 --- a/src/World/BlockSide.hpp +++ b/src/World/BlockSide.hpp @@ -1,6 +1,6 @@ #pragma once -#include <cstdint> +#include "../Common/Sizes.hpp" #include <vector> #include <array> #include "../Math/Vector.hpp" @@ -9,7 +9,7 @@ namespace MC::World { class BlockSide { public: - enum Value : uint8_t { + enum Value : U8 { Front, Back, @@ -25,7 +25,7 @@ public: operator Value() const { return m_side; } - std::array<Vector<3>, 4> face() { + std::array<Vector<3, F32>, 4> face() { switch (m_side) { case Front: return {{ |
