@runevision
pub fn get_roads_overlapping_bounds(layer: Layer, bounds: GridBounds, out_roads: &mut Vec ) { for chunk in layer.get_grid_range(grid_bounds) { for &road in &chunk.roads { if bounds.overlaps(road.bounds) { out_roads.push(road); } } } }
=> More informations about this toot | View the thread | More toots from oli@hachyderm.io
=> View runevision@mastodon.gamedev.place profile
text/gemini
This content has been proxied by September (3851b).