pub fn new(size: usize) -> IndexCache {
        IndexCache {
            size,
            layers: [vec![[0; 4]; size * size], vec![[0; 4]; size * size]],
            rows: [vec![[0; 3]; size], vec![[0; 3]; size]],
            cells: [[0; 2]; 2],
            current_cell: [0; 12],
        }
    }
/// Create a new IndexCache for the given chunk size
Create a new IndexCache for the given chunk size
Create a new IndexCache for the given chunk size
pub fn new(size: usize) -> IndexCache {
        IndexCache {
            size,
            layers: [vec![[0; 4]; size * size], vec![[0; 4]; size * size]],
            rows: [vec![[0; 3]; size], vec![[0; 3]; size]],
            cells: [[0; 2]; 2],
            current_cell: [0; 12],
        }
    }
pub fn new ( size : usize ) -> IndexCache { IndexCache { size , layers : [ vec ! [ [ 0 4 ] size size ] , vec ! [ [ 0 4 ] size size ] ] , rows : [ vec ! [ [ 0 3 ] size ] , vec ! [ [ 0 3 ] size ] ] , cells : [ [ 0 ; 2 ] ; 2 ] , current_cell : [ 0 ; 12 ] , } }
Create a new IndexCache for the given chunk size
Create a new IndexCache for the given chunk size
size
usize