Skip to main content

tile_config

Function tile_config 

Source
pub fn tile_config(
    world: &WorldParams,
    cell_class: &CellClass,
    options: &BuildOptions,
) -> TileConfig
Expand description

The configuration of tiles of cell_class (spec 4). All arithmetic is in f32 as the spec writes it. A degenerate cell class (no cells) gives non-finite sizes, which build_tile rejects.