Skip to main content

composite_tile

Function composite_tile 

Source
pub fn composite_tile(
    tile: &mut TileBuffers<'_>,
    obs: &Observation<'_>,
    world: Rect,
    ox: i64,
    oy: i64,
    tx: i64,
    ty: i64,
) -> TileStats
Expand description

Composites the part of world (region rect at its integer raster pose) that falls into tile (tx, ty). Blocks are independent (each owns its pixels, coverage bits and block entries), so rows of blocks are split across the pool; every count is an integer sum and the conflict list is rebuilt in (by, bx) order afterwards.