Lodestone.Common
Loading...
Searching...
No Matches
Constants.h
Go to the documentation of this file.
1//
2// Created by DexrnZacAttack on 10/14/25 using zPc-i2.
3//
4#ifndef LODESTONE_CONSTANTS_H
5#define LODESTONE_CONSTANTS_H
6
7// Shared constants to prevent circular include (e.g. section includes chunk for
8// its constants and then chunk needs to include Section)
10 static constexpr int CHUNK_AXIS_SIZE = 16;
11
12 static constexpr int CHUNK_WIDTH = CHUNK_AXIS_SIZE;
13 static constexpr int SECTION_HEIGHT = CHUNK_AXIS_SIZE;
14 static constexpr int CHUNK_DEPTH = CHUNK_AXIS_SIZE;
15} // namespace lodestone::common::constants
16
17#endif // LODESTONE_CONSTANTS_H
Definition Constants.h:9
static constexpr int CHUNK_WIDTH
Definition Constants.h:12
static constexpr int CHUNK_DEPTH
Definition Constants.h:14
static constexpr int CHUNK_AXIS_SIZE
Definition Constants.h:10
static constexpr int SECTION_HEIGHT
Definition Constants.h:13