summaryrefslogtreecommitdiffhomepage
path: root/src/world.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-07 14:15:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-07 14:15:25 +0200
commite1e539709d6e197cd2f2118e14598fd8c7b42c7b (patch)
tree1da9003870abfc85cac79d732fc48583ff9e520e /src/world.cpp
parent405c6168198fe25eb791f048a37417e6cffb3c42 (diff)
.
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp
index a8ca7085..2d19c7d2 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -2,7 +2,12 @@
namespace Magnum::Examples {
+static_assert(sizeof(decltype(local_coords::x))*8 == 8);
+static_assert(sizeof(decltype(chunk_coords::x))*8 == 16);
+static_assert(std::is_same_v<decltype(local_coords::x), decltype(local_coords::y)>);
+static_assert(std::is_same_v<decltype(chunk_coords::x), decltype(chunk_coords::y)>);
+static_assert(std::is_same_v<decltype(chunk_coords::x), decltype(chunk_coords::y)>);
} // namespace Magnum::Examples