mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-23 08:36:09 +00:00
Rename variable to improve clarity
This commit is contained in:
parent
051c47d09a
commit
31b51ca20b
@ -20,7 +20,7 @@ pub fn model(
|
|||||||
let [x, y, z] = size.into().components;
|
let [x, y, z] = size.into().components;
|
||||||
|
|
||||||
let surface = services.objects.surfaces.xy_plane();
|
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()
|
Sketch::empty()
|
||||||
.add_region(
|
.add_region(
|
||||||
@ -35,6 +35,6 @@ pub fn model(
|
|||||||
)
|
)
|
||||||
.insert(services),
|
.insert(services),
|
||||||
)
|
)
|
||||||
.sweep_sketch(surface, path, services)
|
.sweep_sketch(surface, sweep_path, services)
|
||||||
.insert(services)
|
.insert(services)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user