diff --git a/crates/fj-operations/src/circle.rs b/crates/fj-operations/src/circle.rs index 38526d92e..8e0fadaaf 100644 --- a/crates/fj-operations/src/circle.rs +++ b/crates/fj-operations/src/circle.rs @@ -16,21 +16,21 @@ impl ToShape for fj::Circle { _: Tolerance, _: &mut DebugInfo, ) -> Result>, ValidationError> { - let mut shape = Shape::new(); + let mut tmp = Shape::new(); // Circles have just a single round edge with no vertices. So none need // to be added here. - let edge = Edge::builder(&mut shape) + let edge = Edge::builder(&mut tmp) .build_circle(Scalar::from_f64(self.radius())); let cycle_local = Cycle { edges: vec![edge.clone()], }; - let cycle_canonical = shape.insert(Cycle::new(vec![edge.canonical()])); + let cycle_canonical = tmp.insert(Cycle::new(vec![edge.canonical()])); - let surface = shape.insert(Surface::xy_plane()); - let face = shape + let surface = tmp.insert(Surface::xy_plane()); + let face = tmp .insert(Face::new( surface, vec![LocalForm::new(cycle_local, cycle_canonical)],