Skip to content

Commit

Permalink
Update Field.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Tensuko committed Oct 18, 2024
1 parent 232de91 commit 786b5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/courseGenerator/Field.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ end
--- Smooth out zigzags in the boundary. Zigzags are created when the FieldScanner is running at high resolution
--- bigger than the game field pixel size
function Field:_smoothBoundary()
CourseGenerator.SplineHelper.smooth(self:getBoundary(), 2, 1, #self:getBoundary(), math.rad(5), math.rad(45))
CourseGenerator.SplineHelper.smooth(self:getBoundary(), 2, 1, #self:getBoundary(), math.rad(10), math.rad(55))
self:getBoundary():ensureMinimumEdgeLength(CourseGenerator.cMaxEdgeLength, math.rad(30))
end

Expand Down

0 comments on commit 786b5a9

Please sign in to comment.