prochitecture / blosm

GNU General Public License v3.0
11 stars 3 forks source link

Negate offset? #61

Closed vvoovv closed 1 year ago

vvoovv commented 1 year ago

manager.streetSections[27].offset is equal to 1.35.

Shouldn't it be negated in order for the street section to be placed correctly?

image

polarkernel commented 1 year ago

Shouldn't it be negated in order for the street section to be placed correctly?

I didn't negate the offsets, I made them dependent on the side of the transition for my drawings. I will correct that and make the offset positive when the turn is to the right and negative when the turn is to the left.

polarkernel commented 1 year ago

I will correct that and make the offset positive when the turn is to the right and negative when the turn is to the left.

A version with signed offset as described is committed. Another issue has been discovered that has not yet been fixed. Fixed some other bugs.

vvoovv commented 1 year ago

Thanks