azalea_world::chunk_storage

Function section_index

Source
pub fn section_index(y: i32, min_y: i32) -> u32
Expand description

Get the index of where a section is in a chunk based on its y coordinate and the minimum y coordinate of the world.