Skip to main content

Module chunks

Module chunks 

Source
Expand description

Sparse chunk storage helpers.

A grid’s Grid::chunks map holds populated chunks keyed by their (chx, chy, chz) index. A missing entry is an implicit all-air chunk; this module provides the constructor for fresh all-air chunks plus the chunk / chunk_mut / ensure_chunk lookup API.

Structs§

ChunkXyBacking
S4B.2.c.3: chx/chy chunk table built from a Grid.