Merge pull request #860 from Squareys/fix-pi

Fix Mistake in last Pullrequest
pull/861/head
Kim Kulling 2016-04-21 17:07:27 +02:00
commit b120454bdd
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ void Sweep::FillAdvancingFront(SweepContext& tcx, Node& n)
while (node->next) { while (node->next) {
double angle = HoleAngle(*node); double angle = HoleAngle(*node);
if (angle > PI || angle < -PI_2) break; if (angle > PI_2 || angle < -PI_2) break;
Fill(tcx, *node); Fill(tcx, *node);
node = node->next; node = node->next;
} }