mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-22 13:51:33 +03:00
1 line
542 B
JavaScript
1 line
542 B
JavaScript
initSidebarItems({"constant":[["CAR_FREE_COLOR",""]],"fn":[["color_cells",""],["diffusion","Returns a set of adjacent indices. The pairs are symmetric – (x, y) and (y, x) will both be populated. Adjacency with boundary_marker doesn’t count."],["draw_cells","Partition a neighborhood’s boundary polygon based on the cells. Currently this discretizes space into a grid, so the results don’t look perfect, but it’s fast. Also returns the color for each cell, so that adjacent cells have different colors."]],"struct":[["COLORS",""]]}); |