Skip to content

Commit

Permalink
Correct winding order of expected polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
kad-korpem committed Nov 14, 2023
1 parent f3d3ca4 commit 184fd1f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions snap/snap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ func Test_snapPolygon(t *testing.T) {
{110892.93099999999685679, 504407.8219999999855645},
}},
want: &geom.Polygon{{
{110899.1928125, 504431.1559375},
{110906.8709375, 504428.8065625}, // horizontal line still here
{110907.6453125, 504428.8065625}, // horizontal line still here
{110909.4565625, 504436.9046875},
{110920.0353125, 504436.0778125},
{110929.4459375, 504407.8196875},
{110892.9321875, 504407.8196875},
{110929.4459375, 504407.8196875},
{110920.0353125, 504436.0778125},
{110909.4565625, 504436.9046875},
{110907.6453125, 504428.8065625}, // horizontal line still here
{110906.8709375, 504428.8065625}, // horizontal line still here
{110899.1928125, 504431.1559375},
}},
},
{
Expand Down

0 comments on commit 184fd1f

Please sign in to comment.