Skip to content

Commit 8514d73

Browse files
committed
Adapt comments
1 parent ff70bd0 commit 8514d73

File tree

1 file changed

+3
-3
lines changed
  • sparse_strips/vello_common/src

1 file changed

+3
-3
lines changed

sparse_strips/vello_common/src/clip.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ fn intersect_impl<S: Simd>(
216216
OverlapRelationship::Overlap(overlap) => {
217217
match (region_1, region_2) {
218218
// Both regions are a fill. Flush the current strip and start a new
219-
// one at the end of the overlap region setting the winding number to
220-
// one, so that the whole area before that will be filled with a sparse
219+
// one at the end of the overlap region setting `fill_gap` to true,
220+
// so that the whole area before that will be filled with a sparse
221221
// fill.
222222
(Region::Fill(_), Region::Fill(_)) => {
223223
flush_strip(&mut strip_state, &mut target.strips, cur_y);
@@ -237,7 +237,7 @@ fn intersect_impl<S: Simd>(
237237
[..overlap.width() as usize * 4];
238238
target.alphas.extend_from_slice(s_alphas);
239239
}
240-
// Two strips, we need to multiply the opacitie masks from both paths.
240+
// Two strips, we need to multiply the opacity masks from both paths.
241241
(Region::Strip(s_region_1), Region::Strip(s_region_2)) => {
242242
// Once again, only create a new strip if we can't extend the current one.
243243
if should_create_new_strip(&strip_state, &target.alphas, overlap.start)

0 commit comments

Comments
 (0)