From 31b51ca20b0bfeb974138864858408c2f146d804 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 14 Dec 2023 12:52:47 +0100 Subject: [PATCH] Rename variable to improve clarity --- models/cuboid/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/cuboid/src/lib.rs b/models/cuboid/src/lib.rs index bbd5663e7..758f76e18 100644 --- a/models/cuboid/src/lib.rs +++ b/models/cuboid/src/lib.rs @@ -20,7 +20,7 @@ pub fn model( let [x, y, z] = size.into().components; let surface = services.objects.surfaces.xy_plane(); - let path = Vector::from([Scalar::ZERO, Scalar::ZERO, z]); + let sweep_path = Vector::from([Scalar::ZERO, Scalar::ZERO, z]); Sketch::empty() .add_region( @@ -35,6 +35,6 @@ pub fn model( ) .insert(services), ) - .sweep_sketch(surface, path, services) + .sweep_sketch(surface, sweep_path, services) .insert(services) }