mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
minimize defines
This commit is contained in:
parent
e0eacb51be
commit
e45d85bc5a
17 changed files with 92 additions and 86 deletions
|
|
@ -7,14 +7,14 @@
|
|||
#include "../maths/aabb.h"
|
||||
#include "../typedefs.h"
|
||||
|
||||
#define FACE_MX 0
|
||||
#define FACE_PX 1
|
||||
#define FACE_MY 2
|
||||
#define FACE_PY 3
|
||||
#define FACE_MZ 4
|
||||
#define FACE_PZ 5
|
||||
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;
|
||||
|
||||
#define BLOCK_AABB_GRID 16
|
||||
const uint BLOCK_AABB_GRID = 16;
|
||||
|
||||
struct CoordSystem {
|
||||
glm::ivec3 axisX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue