mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
refactor
This commit is contained in:
parent
e06350915e
commit
925ef426de
6 changed files with 240 additions and 233 deletions
|
|
@ -11,14 +11,14 @@
|
|||
|
||||
#define BLOCK_ITEM_SUFFIX ".item"
|
||||
|
||||
const uint FACE_MX = 0;
|
||||
const uint FACE_PX = 1;
|
||||
const uint FACE_MY = 2;
|
||||
const uint FACE_PY = 3;
|
||||
const uint FACE_MZ = 4;
|
||||
const uint FACE_PZ = 5;
|
||||
inline constexpr uint FACE_MX = 0;
|
||||
inline constexpr uint FACE_PX = 1;
|
||||
inline constexpr uint FACE_MY = 2;
|
||||
inline constexpr uint FACE_PY = 3;
|
||||
inline constexpr uint FACE_MZ = 4;
|
||||
inline constexpr uint FACE_PZ = 5;
|
||||
|
||||
const uint BLOCK_AABB_GRID = 16;
|
||||
inline constexpr uint BLOCK_AABB_GRID = 16;
|
||||
|
||||
struct block_funcs_set {
|
||||
bool init: 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue