Rename variable to increase clarity

This commit is contained in:
Hanno Braun 2023-12-14 13:19:00 +01:00
parent 19ad4456dd
commit ea9c5f1b83

View File

@ -43,7 +43,7 @@ pub fn model(
inner_points.push([x / 2., y / 2.]); 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]); let path = Vector::from([0., 0., h]);
Sketch::empty() Sketch::empty()
@ -54,6 +54,6 @@ pub fn model(
.insert(services)]) .insert(services)])
.insert(services), .insert(services),
) )
.sweep_sketch(surface, path, services) .sweep_sketch(bottom_surface, path, services)
.insert(services) .insert(services)
} }