From feba141bc891afda2bf31d85085655a7c359c168 Mon Sep 17 00:00:00 2001 From: treeform <starplant@gmail.com> Date: Sun, 28 Nov 2021 16:04:42 -0800 Subject: [PATCH] call them pixieSweeps --- src/pixie/paths.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pixie/paths.nim b/src/pixie/paths.nim index 0395c78..14436ba 100644 --- a/src/pixie/paths.nim +++ b/src/pixie/paths.nim @@ -1537,7 +1537,7 @@ proc fillHits( mask.clearUnsafe(0, y, startX, y) mask.clearUnsafe(filledTo, y, mask.width, y) -when not defined(sweeps): +when not defined(pixieSweeps): proc fillShapes( image: Image, shapes: seq[seq[Vec2]], @@ -2039,7 +2039,7 @@ proc strokeOverlaps*( strokeShapes.transform(transform) strokeShapes.overlaps(test, wrNonZero) -when defined(sweeps): +when defined(pixieSweeps): import algorithm proc pixelCover(a0, b0: Vec2): float32 =