From b60ce3b93e079b817627728209722174a2e67701 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 14 Dec 2023 13:00:53 +0100 Subject: [PATCH] Rename variable to increase clarity --- models/spacer/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/spacer/src/lib.rs b/models/spacer/src/lib.rs index e9dfa6965..8b56473a9 100644 --- a/models/spacer/src/lib.rs +++ b/models/spacer/src/lib.rs @@ -20,7 +20,7 @@ pub fn model( height: f64, services: &mut Services, ) -> Handle { - let surface = services.objects.surfaces.xy_plane(); + let bottom_surface = services.objects.surfaces.xy_plane(); let path = Vector::from([0., 0., height]); Sketch::empty() @@ -35,6 +35,6 @@ pub fn model( .insert(services)]) .insert(services), ) - .sweep_sketch(surface, path, services) + .sweep_sketch(bottom_surface, path, services) .insert(services) }