Skip to content

Commit

Permalink
Merge pull request #314 from Maxxen/v0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxxen authored May 7, 2024
2 parents a62e73c + 0a028bb commit 9403beb
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
Expand Up @@ -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});
Expand Down

0 comments on commit 9403beb

Please sign in to comment.