Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
kianzarrin committed Dec 7, 2022
1 parent 8756add commit dfbac37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AdaptiveRoads/Data/NetworkExtensions/LaneTransition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void Calculate() {
SegmentExtD.GetEnd(NodeID).TotalAngle,
0);

OutLine = new OutlineData(bezierA, bezierD,width: Width, tiltData);
OutLine = new OutlineData(bezierA, bezierD, width: Width, tiltData);
if(OutLine.Empty) return;
RenderData = GenerateRenderData(ref OutLine);

Expand Down
2 changes: 1 addition & 1 deletion AdaptiveRoads/Data/NetworkExtensions/TrackRenderData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public TrackRenderData GetDataFor(NetInfoExtionsion.Track trackInfo, int antiFli
float deltaY = trackInfo.VerticalOffset;
float deltaY2 = 0;
if(trackInfo.AntiFlickering) deltaY2 = antiFlickerIndex * 0.001f;
Lift(ref ret.LeftMatrix,deltaY,deltaY2);
Lift(ref ret.LeftMatrix, deltaY, deltaY2);
Lift(ref ret.RightMatrix, deltaY, deltaY2);

return ret;
Expand Down

0 comments on commit dfbac37

Please sign in to comment.