mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2025-04-21 12:27:27 +03:00
poly2d/p2d_area_holes.cpp (recurse_area): correct confusing indentation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user