mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-22 16:16:12 +00:00
Rename variable to increase clarity
This commit is contained in:
parent
b60ce3b93e
commit
4aaacc2af3
@ -21,7 +21,7 @@ pub fn model(
|
|||||||
services: &mut Services,
|
services: &mut Services,
|
||||||
) -> Handle<Solid> {
|
) -> Handle<Solid> {
|
||||||
let bottom_surface = services.objects.surfaces.xy_plane();
|
let bottom_surface = services.objects.surfaces.xy_plane();
|
||||||
let path = Vector::from([0., 0., height]);
|
let sweep_path = Vector::from([0., 0., height]);
|
||||||
|
|
||||||
Sketch::empty()
|
Sketch::empty()
|
||||||
.add_region(
|
.add_region(
|
||||||
@ -35,6 +35,6 @@ pub fn model(
|
|||||||
.insert(services)])
|
.insert(services)])
|
||||||
.insert(services),
|
.insert(services),
|
||||||
)
|
)
|
||||||
.sweep_sketch(bottom_surface, path, services)
|
.sweep_sketch(bottom_surface, sweep_path, services)
|
||||||
.insert(services)
|
.insert(services)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user