Order variables consistently

This commit is contained in:
Hanno Braun 2025-01-20 20:00:32 +01:00
parent 984369ba78
commit 22faac1335

View File

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