Rename variable to increase clarity

This commit is contained in:
Hanno Braun 2023-12-14 13:00:53 +01:00
parent faf5fbb882
commit b60ce3b93e

View File

@ -20,7 +20,7 @@ pub fn model(
height: f64,
services: &mut Services,
) -> Handle<Solid> {
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)
}