better this way

This commit is contained in:
Ryan Oldenburg 2021-06-19 00:25:42 -05:00
parent 70232e87e6
commit 0fa2a9fe6b

View file

@ -1137,12 +1137,10 @@ iterator walk(
# between zero and nonzero (or the last hit)
count += winding
continue
if at <= 0:
count += winding
continue
if shouldFill(windingRule, count):
yield (prevAt, at, count)
prevAt = at
if at > 0:
if shouldFill(windingRule, count):
yield (prevAt, at, count)
prevAt = at
count += winding
when defined(pixieLeakCheck):