stop rounding yellow center lines. the roundness gets cut off by the intersection anyway.

This commit is contained in:
Dustin Carlino 2019-01-24 18:05:42 -08:00
parent 8cc652514d
commit 9ac0674e62
2 changed files with 3 additions and 2 deletions

View File

@ -67,9 +67,10 @@
- speed
- for things like lanes with markings, build up a single thing that can be drawn...
- draw_rounded_line is useless for center lines now
- but with an easier API... imperative draw single thing or prerender many things should be same
- change ezgui API to allow uploading geometry once
- what about color then? get fancy and plumb an override color uniform?
- stop storing raw geometry when appropriate
- sleep better in the event loop
- first make UserInput borrow state and not need to consume
- experiment with batching and not passing colors

View File

@ -31,7 +31,7 @@ impl DrawLane {
let lines = road.center_pts.lines();
markings.push(Box::new(move |g, cs| {
for line in &lines {
g.draw_rounded_line(
g.draw_line(
cs.get_def("road center line", Color::YELLOW),
BIG_ARROW_THICKNESS,
line,