mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
Block rotation profiles
This commit is contained in:
parent
9ded9b63f8
commit
8bc8eb14bd
6 changed files with 53 additions and 16 deletions
|
|
@ -4,8 +4,11 @@
|
|||
#include "../typedefs.h"
|
||||
|
||||
#define BLOCK_DIR_X 0x1
|
||||
#define BLOCK_DIR_Y 0x2
|
||||
#define BLOCK_DIR_Z 0x3
|
||||
#define BLOCK_DIR_Y 0x0
|
||||
#define BLOCK_DIR_Z 0x2
|
||||
|
||||
// limited to 16 block orientations
|
||||
#define BLOCK_ROT_MASK 0xF
|
||||
|
||||
struct voxel {
|
||||
blockid_t id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue