1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-23 03:36:27 +02:00

poly2d/p2d_area_holes.cpp (recurse_area): correct confusing indentation

This commit is contained in:
Werner Almesberger 2015-01-18 20:15:44 -03:00
parent 84f9d3c3b4
commit 6084b52c15

View File

@ -1,8 +1,8 @@
/* /*
* p2d_area_holes.cpp - Fill an area with holes * p2d_area_holes.cpp - Fill an area with holes
* *
* Written 2012 by Werner Almesberger * Written 2012, 2015 by Werner Almesberger
* Copyright 2012 by Werner Almesberger * Copyright 2012, 2015 by Werner Almesberger
* *
* This program is free software; you can redistribute it and/or modify * 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 * 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()) if (!poly.outer_boundary().is_simple())
return; return;
for (Polygon_with_holes::Hole_const_iterator for (Polygon_with_holes::Hole_const_iterator hit = poly.holes_begin();
hit = poly.holes_begin();
hit != poly.holes_end(); ++hit) hit != poly.holes_end(); ++hit)
if (!hit->is_simple()) if (!hit->is_simple())
return; return;