blob: 99f282463ac47664e235ea9ef472d5fc14fca2a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include "../Common/Sizes.hpp"
// This file defines chunk dimensions outside of the `Chunk` class.
// We need this to avoid cyclic dependencies for headers on which Chunk depends,
// but which need the dimensions, too (i.e. `ChunkIndex`).
// `Chunk` re-exports these so other units may use `Chunk::Width` and `Chunk::Height` as before.
namespace MC::World::ChunkDimensions {
static constexpr U32 Width = 16;
static constexpr U32 Height = 128;
}
|