call them pixieSweeps
This commit is contained in:
parent
4a3d42a034
commit
feba141bc8
1 changed files with 2 additions and 2 deletions
|
@ -1537,7 +1537,7 @@ proc fillHits(
|
||||||
mask.clearUnsafe(0, y, startX, y)
|
mask.clearUnsafe(0, y, startX, y)
|
||||||
mask.clearUnsafe(filledTo, y, mask.width, y)
|
mask.clearUnsafe(filledTo, y, mask.width, y)
|
||||||
|
|
||||||
when not defined(sweeps):
|
when not defined(pixieSweeps):
|
||||||
proc fillShapes(
|
proc fillShapes(
|
||||||
image: Image,
|
image: Image,
|
||||||
shapes: seq[seq[Vec2]],
|
shapes: seq[seq[Vec2]],
|
||||||
|
@ -2039,7 +2039,7 @@ proc strokeOverlaps*(
|
||||||
strokeShapes.transform(transform)
|
strokeShapes.transform(transform)
|
||||||
strokeShapes.overlaps(test, wrNonZero)
|
strokeShapes.overlaps(test, wrNonZero)
|
||||||
|
|
||||||
when defined(sweeps):
|
when defined(pixieSweeps):
|
||||||
import algorithm
|
import algorithm
|
||||||
|
|
||||||
proc pixelCover(a0, b0: Vec2): float32 =
|
proc pixelCover(a0, b0: Vec2): float32 =
|
||||||
|
|
Loading…
Reference in a new issue