summaryrefslogtreecommitdiffhomepage
path: root/src/world.cpp
blob: 2d19c7d2ecdf5f3d96f6450f3d01674506185f9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "world.hpp"

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