abstreet/rustdoc/game/ltn/draw_cells/sidebar-items.js

1 line
568 B
JavaScript
Raw Normal View History

initSidebarItems({"constant":[["CAR_FREE_COLOR",""],["DISCONNECTED_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 doesnt count."],["draw_cells","Partition a neighborhoods boundary polygon based on the cells. Currently this discretizes space into a grid, so the results dont look perfect, but its fast. Also returns the color for each cell, so that adjacent cells have different colors."]],"struct":[["COLORS",""]]});