This commit is contained in:
Hanno Braun 2025-01-20 19:58:26 +01:00
parent 91791122b7
commit 731d851ccf

View File

@ -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);