blob: d8e75d7e454c44e2e3714d8f26634c2fc4aeff7e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
enum BLOCK_ID {
BLOCK_GRASS,
};
struct block {
enum BLOCK_ID block_id;
};
/**
* A block struct defines what kind of block we will be rendering. It's the metadata of the block array in a chunk
*
*/
int block_init(struct block* blk, enum BLOCK_ID block_id);
|