Rename variable to increase clarity

This commit is contained in:
Hanno Braun 2023-12-14 12:53:13 +01:00
parent 31b51ca20b
commit 26833c0da5

View File

@ -19,7 +19,7 @@ pub fn model(
) -> Handle<Solid> { ) -> Handle<Solid> {
let [x, y, z] = size.into().components; let [x, y, z] = size.into().components;
let surface = services.objects.surfaces.xy_plane(); let bottom_surface = services.objects.surfaces.xy_plane();
let sweep_path = Vector::from([Scalar::ZERO, Scalar::ZERO, z]); let sweep_path = Vector::from([Scalar::ZERO, Scalar::ZERO, z]);
Sketch::empty() Sketch::empty()
@ -35,6 +35,6 @@ pub fn model(
) )
.insert(services), .insert(services),
) )
.sweep_sketch(surface, sweep_path, services) .sweep_sketch(bottom_surface, sweep_path, services)
.insert(services) .insert(services)
} }