mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 20:29:04 +03:00
stop rounding yellow center lines. the roundness gets cut off by the intersection anyway.
This commit is contained in:
parent
8cc652514d
commit
9ac0674e62
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user