fix roundabout turnAngle for leftside
This commit is contained in:
parent
be544a85e8
commit
8a83ec4574
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ public class TurnPathHelper {
|
|||
int out = turnType.getExitOut();
|
||||
boolean leftSide = turnType.isLeftSide();
|
||||
boolean showSteps = SHOW_STEPS && !mini;
|
||||
TurnVariables tv = new TurnVariables(leftSide, turnType.getTurnAngle(), out, wa, ha, 1);
|
||||
TurnVariables tv = new TurnVariables(leftSide, leftSide ? -turnType.getTurnAngle() : turnType.getTurnAngle(), out, wa, ha, 1);
|
||||
if(center != null) {
|
||||
center.set(tv.cx, tv.cy);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue