Skip to content

Commit

Permalink
Applied clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker authored and github-actions[bot] committed Jul 12, 2023
1 parent db83997 commit 813d3ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/infill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -630,9 +630,9 @@ void Infill::generateLinearBasedInfill(Polygons& result, const int line_distance
}
};
std::vector<std::vector<Crossing>> crossings_per_scanline; // For each scanline, a list of crossings.

const int min_scanline_index = computeScanSegmentIdx(boundary__.min.X - shift, line_distance) + 2;

const int max_scanline_index = computeScanSegmentIdx(boundary__.max.X - shift, line_distance) + 1;
crossings_per_scanline.resize(max_scanline_index - min_scanline_index);
if (connect_lines)
Expand Down

0 comments on commit 813d3ce

Please sign in to comment.