Emit B-quads around both self-intersecting active edges.

Improves one of the whiskers in the tiger.
This commit is contained in:
Patrick Walton 2017-09-25 12:58:42 -07:00
parent 3efca89235
commit 2a906569e5
1 changed files with 1 additions and 0 deletions

View File

@ -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",