more readable
This commit is contained in:
parent
b8c1dbc4f2
commit
ac6b1f8e4d
1 changed files with 2 additions and 1 deletions
|
@ -1176,7 +1176,8 @@ iterator walk(
|
|||
for i in 0 ..< numHits:
|
||||
let (at, winding) = hits[i]
|
||||
if windingRule == wrNonZero and
|
||||
(count != 0) == (count + winding != 0) and
|
||||
count != 0 and
|
||||
count + winding != 0 and
|
||||
i < numHits - 1:
|
||||
# Shortcut: if nonzero rule, we only care about when the count changes
|
||||
# between zero and nonzero (or the last hit)
|
||||
|
|
Loading…
Reference in a new issue