kubi/kubi-shared/src/chunk.rs

6 lines
208 B
Rust
Raw Permalink Normal View History

2023-02-15 15:07:47 -06:00
use crate::block::Block;
2023-01-29 20:23:39 -06:00
pub const CHUNK_SIZE: usize = 32;
pub type BlockData = Box<[[[Block; CHUNK_SIZE]; CHUNK_SIZE]; CHUNK_SIZE]>;
2023-11-19 11:27:20 -06:00
pub type BlockDataRef = [[[Block; CHUNK_SIZE]; CHUNK_SIZE]; CHUNK_SIZE];