abstreet/rustdoc/game/ltn/draw_cells/sidebar-items.js
2022-01-11 10:12:16 +00:00

1 line
542 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 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",""]]});