mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
Full vertical block rotation
This commit is contained in:
parent
8bc8eb14bd
commit
361a2eac67
4 changed files with 20 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue