Skip to content

Commit

Permalink
Applied clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
rburema authored and github-actions[bot] committed Oct 23, 2024
1 parent dcdeff6 commit 6db4b4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/infill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,7 @@ void Infill::connectLines(OpenLinesSet& result_lines)
if (vSize2(previous_point - next_point) < half_line_distance_squared
&& LinearAlg2D::lineLineIntersection(previous_segment->start_, previous_segment->end_, crossing->start_, crossing->end_, intersect)
&& LinearAlg2D::pointIsProjectedBeyondLine(intersect, previous_segment->start_, previous_segment->end_) == 0
&& LinearAlg2D::pointIsProjectedBeyondLine(intersect, crossing->start_, crossing->end_) == 0
&& vSize2(previous_point - intersect) > epsilon_sqd
&& LinearAlg2D::pointIsProjectedBeyondLine(intersect, crossing->start_, crossing->end_) == 0 && vSize2(previous_point - intersect) > epsilon_sqd
&& vSize2(next_point - intersect) > epsilon_sqd)
{
resolveIntersection(infill_line_width_, intersect, previous_point, next_point, previous_segment, crossing);
Expand Down

0 comments on commit 6db4b4f

Please sign in to comment.