Full vertical block rotation

This commit is contained in:
@clasher113
2023-12-04 10:42:12 +02:00
parent 8bc8eb14bd
commit 361a2eac67
4 changed files with 20 additions and 19 deletions
+6 -3
View File
@@ -3,9 +3,12 @@
#include "../typedefs.h"
#define BLOCK_DIR_X 0x1
#define BLOCK_DIR_Y 0x0
#define BLOCK_DIR_Z 0x2
#define BLOCK_DIR_PX 0x1
#define BLOCK_DIR_PY 0x0
#define BLOCK_DIR_PZ 0x2
#define BLOCK_DIR_MX 0x3
#define BLOCK_DIR_MY 0x4
#define BLOCK_DIR_MZ 0x5
// limited to 16 block orientations
#define BLOCK_ROT_MASK 0xF