From ea9c5f1b834fea76d035fc25eb50e693f0d20977 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 14 Dec 2023 13:19:00 +0100 Subject: [PATCH] Rename variable to increase clarity --- models/star/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/star/src/lib.rs b/models/star/src/lib.rs index 936c7a3cf..1e74957aa 100644 --- a/models/star/src/lib.rs +++ b/models/star/src/lib.rs @@ -43,7 +43,7 @@ pub fn model( inner_points.push([x / 2., y / 2.]); } - let surface = services.objects.surfaces.xy_plane(); + let bottom_surface = services.objects.surfaces.xy_plane(); let path = Vector::from([0., 0., h]); Sketch::empty() @@ -54,6 +54,6 @@ pub fn model( .insert(services)]) .insert(services), ) - .sweep_sketch(surface, path, services) + .sweep_sketch(bottom_surface, path, services) .insert(services) }