mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-26 17:15:52 +00:00
Update variable name
This commit is contained in:
parent
302b1e3540
commit
a2a4f15337
@ -15,7 +15,7 @@ pub extern "C" fn model(_: &HashMap<String, String>) -> fj::Shape {
|
|||||||
let cube_a = fj::Sketch::from_points(vertices).sweep(1.0);
|
let cube_a = fj::Sketch::from_points(vertices).sweep(1.0);
|
||||||
let cube_b = cube_a.clone().translate([1.5, 0., 0.5]);
|
let cube_b = cube_a.clone().translate([1.5, 0., 0.5]);
|
||||||
|
|
||||||
let disjoint_union = cube_a.group(&cube_b);
|
let group = cube_a.group(&cube_b);
|
||||||
|
|
||||||
disjoint_union.into()
|
group.into()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user