Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Maxxen committed May 6, 2024
1 parent a62e73c commit 0a028bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spatial/include/spatial/core/geometry/geometry.hpp
Original file line number Diff line number Diff line change
@@ -797,7 +797,7 @@ inline Geometry Polygon::CreateFromBox(ArenaAllocator &alloc, double minx, doubl
auto &ring = Polygon::Part(polygon, 0);
LineString::Resize(ring, alloc, 5);
LineString::SetVertex(ring, 0, {minx, miny});
LineString::SetVertex(ring, 1, {miny, maxy});
LineString::SetVertex(ring, 1, {minx, maxy});
LineString::SetVertex(ring, 2, {maxx, maxy});
LineString::SetVertex(ring, 3, {maxx, miny});
LineString::SetVertex(ring, 4, {minx, miny});

0 comments on commit 0a028bb

Please sign in to comment.