mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 19:38:29 +00:00
Group related code
This commit is contained in:
parent
96b89bfc36
commit
2daed619c9
@ -26,7 +26,7 @@ pub fn model() -> HandleAny {
|
||||
// half-edge between last and first vertex is implicit, so we're done here
|
||||
]);
|
||||
|
||||
let surface = Surface {
|
||||
let surface = Handle::new(Surface {
|
||||
geometry: Plane {
|
||||
origin: Point::from([0., 0., 1.]),
|
||||
coords: Bivector {
|
||||
@ -34,9 +34,9 @@ pub fn model() -> HandleAny {
|
||||
b: Vector::from([0., 1., 0.]),
|
||||
},
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
let face = sketch.to_face(Handle::new(surface));
|
||||
let face = sketch.to_face(surface);
|
||||
Handle::new(face)
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user