ekumenlabs / terminus

Library to create cities and terrains
Apache License 2.0
56 stars 29 forks source link

Fix intersection of collinear lanes when they are not aligned #256

Closed basicNew closed 7 years ago

basicNew commented 7 years ago

In the current implementation we assumed that if lanes were collinear then the connection was done by a single segment, extending from the initial to the target lane. However now that we have re-introduced mutliple lanes we may encounter with the following situation, which should be resolved by connecting both lanes using an "S" shaped path

collinear_and_offset