diff --git a/crates/fj-kernel/src/algorithms/sweep/edge.rs b/crates/fj-kernel/src/algorithms/sweep/edge.rs index 5c6883c5e..c6cfbbe55 100644 --- a/crates/fj-kernel/src/algorithms/sweep/edge.rs +++ b/crates/fj-kernel/src/algorithms/sweep/edge.rs @@ -12,7 +12,7 @@ use crate::{ use super::{Sweep, SweepCache}; -impl Sweep for (Handle, &Handle, &Surface, Color) { +impl Sweep for (&HalfEdge, &Handle, &Surface, Color) { type Swept = (Handle, Handle); fn sweep_with_cache( diff --git a/crates/fj-kernel/src/algorithms/sweep/face.rs b/crates/fj-kernel/src/algorithms/sweep/face.rs index df81567dc..0e06e6a14 100644 --- a/crates/fj-kernel/src/algorithms/sweep/face.rs +++ b/crates/fj-kernel/src/algorithms/sweep/face.rs @@ -68,7 +68,7 @@ impl Sweep for Handle { cycle.half_edges().cloned().circular_tuple_windows() { let (face, top_edge) = ( - half_edge.clone(), + half_edge.deref(), next.start_vertex(), self.surface().deref(), self.color(),