This commit is contained in:
Ryan Oldenburg 2022-06-28 20:05:43 -05:00
parent 0affa5284b
commit f41f895e24

View file

@ -1919,13 +1919,6 @@ proc fillShapes(
break
if allEntriesInScanlineSpanIt and tmp == 2:
var at: Vec2
if not intersectsInside(
partitions[partitionIndex].entries[entryIndices[0]].segment,
partitions[partitionIndex].entries[entryIndices[1]].segment,
at
):
# We have 2 non-intersecting lines
var
left = partitions[partitionIndex].entries[entryIndices[0]]
right = partitions[partitionIndex].entries[entryIndices[1]]
@ -1937,7 +1930,6 @@ proc fillShapes(
if maybeLeftMaxX > maybeRightMaxX:
swap left, right
# We have 2 non-intersecting lines that require anti-aliasing
# Use trapezoid coverage at the edges and fill in the middle
when allowSimd and defined(amd64):