bit faster
This commit is contained in:
parent
cdb6b3c6fe
commit
2cd3c35fc1
|
@ -841,7 +841,7 @@ proc fillShapes(
|
||||||
|
|
||||||
var
|
var
|
||||||
fillStart = x.int
|
fillStart = x.int
|
||||||
leftCover = if at.int - x.int > 0: ceil(x) - x else: at - x
|
leftCover = if at.int - x.int > 0: trunc(x) + 1 - x else: at - x
|
||||||
if leftCover != 0:
|
if leftCover != 0:
|
||||||
inc fillStart
|
inc fillStart
|
||||||
if shouldFill(windingRule, count):
|
if shouldFill(windingRule, count):
|
||||||
|
|
Loading…
Reference in a new issue