mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 04:18:28 +00:00
Order variables consistently
This commit is contained in:
parent
984369ba78
commit
22faac1335
@ -11,6 +11,9 @@ pub fn model(shape: &mut Shape) {
|
||||
let mut stores = Stores::new();
|
||||
|
||||
let top = {
|
||||
let sketch =
|
||||
Sketch::from([[-0.5, -0.5], [0.5, -0.5], [0.5, 0.5], [-0.5, 0.5]]);
|
||||
|
||||
let surface = stores.get().insert(Plane {
|
||||
origin: Point::from([0., 0., 0.5]),
|
||||
coords: Bivector {
|
||||
@ -19,9 +22,6 @@ 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]]);
|
||||
|
||||
Face::new(&sketch, surface, stores.get())
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user