Vertical block rotation

This commit is contained in:
@clasher113
2023-12-05 14:43:08 +02:00
parent 4599f903e8
commit ee7d79fe93
5 changed files with 21 additions and 28 deletions
+2 -4
View File
@@ -3,14 +3,12 @@
#include "../typedefs.h"
#define BLOCK_DIR_X 0x1
#define BLOCK_DIR_Y 0x0
#define BLOCK_DIR_Z 0x2
const int BLOCK_DIR_NORTH = 0x0;
const int BLOCK_DIR_WEST = 0x1;
const int BLOCK_DIR_SOUTH = 0x2;
const int BLOCK_DIR_EAST = 0x3;
const int BLOCK_DIR_UP = 0x4;
const int BLOCK_DIR_DOWN = 0x5;
// limited to 16 block orientations
const int BLOCK_ROT_MASK = 0xF;