From 2a906569e526aa098c0ca1ae3604c7321402f4ef Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 25 Sep 2017 12:58:42 -0700 Subject: [PATCH] Emit B-quads around both self-intersecting active edges. Improves one of the whiskers in the tiger. --- partitioner/src/partitioner.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/partitioner/src/partitioner.rs b/partitioner/src/partitioner.rs index a6649931..5848b5f2 100644 --- a/partitioner/src/partitioner.rs +++ b/partitioner/src/partitioner.rs @@ -319,6 +319,7 @@ impl<'a> Partitioner<'a> { debug!("found SELF-INTERSECTION point for active edges {} & {}", upper_active_edge_index, lower_active_edge_index); + self.emit_b_quads_around_active_edge(upper_active_edge_index, crossing_point.x); self.emit_b_quads_around_active_edge(lower_active_edge_index, crossing_point.x); } else { debug!("warning: swapped active edges {} & {} without finding intersection",