Commit Graph

7390 Commits

Author SHA1 Message Date
Dustin Carlino
bc92c3ca8d replacing the pb with serde stuff 2018-06-25 18:56:57 -07:00
Dustin Carlino
fcec05cdfa rm old thick line stuff at last 2018-06-25 16:16:40 -07:00
Dustin Carlino
afeaed1065 fix length fxn 2018-06-25 15:45:17 -07:00
Dustin Carlino
e1e3abbb28 fixed turns that vanished 2018-06-25 15:42:04 -07:00
Dustin Carlino
5a9bc56c32 center lines are finally gone 2018-06-25 15:34:21 -07:00
Dustin Carlino
0fa7fc25d4 use center pts in more places... 2018-06-25 15:23:15 -07:00
Dustin Carlino
ebbdc82f14 trim back center pts, not center lines 2018-06-25 14:55:09 -07:00
Dustin Carlino
729ad9df24 plumb in new lane center pts, and use them for rendering always. looks OK... 2018-06-25 14:50:18 -07:00
Dustin Carlino
571673b02f figuring out where polygons go wrong... 2018-06-25 14:41:00 -07:00
Dustin Carlino
9133f7edc1 split lane profiles into a fxn 2018-06-25 14:33:03 -07:00
Dustin Carlino
94e8f7a4bf switch to new polygons for cars. seems to work. 2018-06-25 14:01:55 -07:00
Dustin Carlino
7c747ea9ee working on calculating start/end crossings explicitly 2018-06-25 13:48:30 -07:00
Dustin Carlino
fef18fbf2f use new polygons for parcels... 2018-06-25 13:29:31 -07:00
Dustin Carlino
1f34f588a3 undo the debug 2018-06-25 13:21:51 -07:00
Dustin Carlino
e2dda62175 bam, line trimming... kind of works 2018-06-25 13:19:01 -07:00
Dustin Carlino
dfdd717c29 use shifted points for polygon, all using the old polyline stuff... 2018-06-25 13:17:28 -07:00
Dustin Carlino
6cad6c7394 working on the line trimming logic. seems to do something? 2018-06-25 13:11:55 -07:00
Dustin Carlino
2451244344 splitting out a mapmaking fxn 2018-06-25 12:03:34 -07:00
Dustin Carlino
6afb71ea5f preps for line trimming 2018-06-25 11:54:15 -07:00
Dustin Carlino
f9db14fed7 slightly less chaos in the roundabout 2018-06-25 11:19:08 -07:00
Dustin Carlino
427bdf3f34 compute front path upfront 2018-06-25 11:16:33 -07:00
Dustin Carlino
2eb0193fb3 slight fixup to drawmap ctor 2018-06-25 10:32:17 -07:00
Dustin Carlino
8e1af1f4ea store graph connections more sanely 2018-06-25 10:28:33 -07:00
Dustin Carlino
06b28f2d2d finishing screenspace translation of roads and intersections 2018-06-25 10:13:02 -07:00
Dustin Carlino
1242ec5297 WIP transforming gps to screen space earlier 2018-06-25 09:40:37 -07:00
Dustin Carlino
ee90ce1ed8 cleaning up redundant extern crates 2018-06-25 09:14:44 -07:00
Dustin Carlino
3edbf30719 woops, forgot to fix a sim test ages ago when refactoring json writing/reading 2018-06-25 09:06:40 -07:00
Dustin Carlino
ba310cbd45 removing geom crate, using just map model 2018-06-25 09:00:43 -07:00
Dustin Carlino
4489abd301 same for GeomTurn 2018-06-25 08:37:32 -07:00
Dustin Carlino
a8532fe210 copying GeomRoad stuff in, calling it, not using it 2018-06-25 08:33:56 -07:00
Dustin Carlino
35e3f9807d compute gps bounds up front, to prep for geom merging 2018-06-25 08:17:12 -07:00
Dustin Carlino
d9e46c5960 splitting map model into more modules 2018-06-25 08:08:38 -07:00
Dustin Carlino
2b9eb66ba1 moving polyline to map_model, using pt2d 2018-06-24 17:01:40 -07:00
Dustin Carlino
3e33162779 polygons for a polyline. the simple method somehow didn't work, not sure
why!
2018-06-24 16:49:00 -07:00
Dustin Carlino
2314907f4e unit test for polyline shifting 2018-06-23 21:19:58 -07:00
Dustin Carlino
2334c46cd3 now with 4 points, and shifting an entire polyline intelligently 2018-06-23 16:23:56 -07:00
Dustin Carlino
8530622beb label all points by the magic of macros 2018-06-23 15:37:18 -07:00
Dustin Carlino
3f1b867809 multiple lanes on each side of the road 2018-06-23 15:15:08 -07:00
Dustin Carlino
3270d9f1ba messing around with the multiline drawing. moving point, labeling
points, using line intersection to find a decent join point.
2018-06-23 14:52:18 -07:00
Dustin Carlino
0327432f2f adding a second UI for experimenting 2018-06-23 10:27:30 -07:00
Dustin Carlino
9b1ce9b3b3 split canvas scrolling and text 2018-06-22 14:47:07 -07:00
Dustin Carlino
0d46b413bb move gfxctx 2018-06-22 14:42:13 -07:00
Dustin Carlino
b3267bb2e7 make background color configurable 2018-06-22 14:08:52 -07:00
Dustin Carlino
5ce158cb90 refactoring json saving/loading 2018-06-22 13:36:12 -07:00
Dustin Carlino
915ad9f7fe slightly refactor some zoom stuff 2018-06-22 10:56:18 -07:00
Dustin Carlino
d54bce01ac make plugins track their own active state 2018-06-22 10:35:35 -07:00
Dustin Carlino
2770b59f85 make the color tuner actually change things live 2018-06-21 21:33:08 -07:00
Dustin Carlino
348f9a0a0f very hacky menu to pick what color to change 2018-06-21 13:45:09 -07:00
Dustin Carlino
6b8a5a0103 moving more colors to scheme 2018-06-21 11:18:17 -07:00
Dustin Carlino
dde825fa56 dont clobber colors when introducing a new one 2018-06-21 10:42:30 -07:00