mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-13 22:38:27 +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
|
// half-edge between last and first vertex is implicit, so we're done here
|
||||||
]);
|
]);
|
||||||
|
|
||||||
let surface = Surface {
|
let surface = Handle::new(Surface {
|
||||||
geometry: Plane {
|
geometry: Plane {
|
||||||
origin: Point::from([0., 0., 1.]),
|
origin: Point::from([0., 0., 1.]),
|
||||||
coords: Bivector {
|
coords: Bivector {
|
||||||
@ -34,9 +34,9 @@ pub fn model() -> HandleAny {
|
|||||||
b: Vector::from([0., 1., 0.]),
|
b: Vector::from([0., 1., 0.]),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
});
|
||||||
|
|
||||||
let face = sketch.to_face(Handle::new(surface));
|
let face = sketch.to_face(surface);
|
||||||
Handle::new(face)
|
Handle::new(face)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user