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

namespace floormat {

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 floormat