fn block_index(x: usize, y: usize, z: usize) -> usize {
    assert!(x < 16);
    assert!(y < 16);
    assert!(z < 16);
    (y << 8) | (z << 4) | x
}
/// Returns the index into a block state array
/// for the given block position.
Returns the index into a block state array
for the given block position.
Returns the index into a block state array for the given block position .
fn block_index(x: usize, y: usize, z: usize) -> usize {
    assert!(x < 16);
    assert!(y < 16);
    assert!(z < 16);
    (y << 8) | (z << 4) | x
}
fn block_index ( x : usize , y : usize , z : usize ) -> usize { assert ! ( x 16 ) ; assert ! ( y 16 ) ; assert ! ( z 16 ) ; ( y << 8 ) | ( z << 4 ) | x }
Returns the index into a block state array
for the given block position.
Returns the index into a block state array for the given block position .
x
usize
y
usize
z
usize
x
usize
y
usize
z
usize