From 07000b911ffe7cc7919ed19b08ff9ec32e212a2b Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 28 Jun 2022 15:40:51 +0200 Subject: [PATCH] Update variable name --- crates/fj-operations/src/circle.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)],