16 lines
228 B
C
16 lines
228 B
C
#ifndef VOXELS_VOXEL_H_
|
|
#define VOXELS_VOXEL_H_
|
|
|
|
#include "../typedefs.h"
|
|
|
|
#define BLOCK_DIR_X 0x1
|
|
#define BLOCK_DIR_Y 0x2
|
|
#define BLOCK_DIR_Z 0x3
|
|
|
|
struct voxel {
|
|
blockid_t id;
|
|
uint8_t states;
|
|
};
|
|
|
|
#endif /* VOXELS_VOXEL_H_ */
|