mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 23:16:27 +02:00
poly2d/p2d_area_holes.cpp (recurse_area): correct confusing indentation
This commit is contained in:
parent
84f9d3c3b4
commit
6084b52c15
@ -1,8 +1,8 @@
|
||||
/*
|
||||
* p2d_area_holes.cpp - Fill an area with holes
|
||||
*
|
||||
* Written 2012 by Werner Almesberger
|
||||
* Copyright 2012 by Werner Almesberger
|
||||
* Written 2012, 2015 by Werner Almesberger
|
||||
* Copyright 2012, 2015 by Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -72,8 +72,7 @@ static void recurse_area(Polygon_with_holes poly, double current,
|
||||
{
|
||||
if (!poly.outer_boundary().is_simple())
|
||||
return;
|
||||
for (Polygon_with_holes::Hole_const_iterator
|
||||
hit = poly.holes_begin();
|
||||
for (Polygon_with_holes::Hole_const_iterator hit = poly.holes_begin();
|
||||
hit != poly.holes_end(); ++hit)
|
||||
if (!hit->is_simple())
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user