mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 12:28:29 +00:00
Simplify
This commit is contained in:
parent
91791122b7
commit
731d851ccf
@ -21,7 +21,7 @@ pub fn model(shape: &mut Shape) {
|
||||
let sketch =
|
||||
Sketch::from([[-0.5, -0.5], [0.5, -0.5], [0.5, 0.5], [-0.5, 0.5]]);
|
||||
|
||||
let [top] = [top].map(|plane| Face::new(&sketch, plane, stores.get()));
|
||||
let top = Face::new(&sketch, top, stores.get());
|
||||
|
||||
let bottom = top.flip(stores.get()).translate([0., 0., -1.], &mut stores);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user