mirror of
https://github.com/SleepingInsomniac/pixelfaucet
synced 2024-11-17 07:48:20 +01:00
Fix line type
This commit is contained in:
parent
6015a255d6
commit
2f65ce7de3
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ module PF
|
|||
end
|
||||
|
||||
# Form lines from the points
|
||||
lines = [] of Line(Int32)
|
||||
lines = [] of Line(Vector2(Int32))
|
||||
0.upto(points.size - 1) do |n|
|
||||
lines << Line.new(points[n], points[(n + 1) % points.size])
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue