mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-30 18:24:04 +03:00
Stop using red as a cell color; it really shouts 'problem'
This commit is contained in:
parent
b28093f2a8
commit
c3b74d1358
@ -7,14 +7,16 @@ use widgetry::{Color, GeomBatch};
|
||||
|
||||
use super::Neighborhood;
|
||||
|
||||
const COLORS: [Color; 6] = [
|
||||
Color::BLUE,
|
||||
Color::YELLOW,
|
||||
Color::RED,
|
||||
Color::PURPLE,
|
||||
Color::PINK,
|
||||
Color::ORANGE,
|
||||
];
|
||||
lazy_static::lazy_static! {
|
||||
static ref COLORS: [Color; 6] = [
|
||||
Color::BLUE,
|
||||
Color::YELLOW,
|
||||
Color::hex("#3CAEA3"),
|
||||
Color::PURPLE,
|
||||
Color::PINK,
|
||||
Color::ORANGE,
|
||||
];
|
||||
}
|
||||
const CAR_FREE_COLOR: Color = Color::GREEN;
|
||||
|
||||
/// Partition a neighborhood's boundary polygon based on the cells. Currently this discretizes
|
||||
|
Loading…
Reference in New Issue
Block a user