mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 11:58:27 +00:00
Group related code
This commit is contained in:
parent
635d18e8bb
commit
c94e60b18d
@ -52,13 +52,13 @@ impl ConnectExt for Handle<Face> {
|
||||
}
|
||||
};
|
||||
|
||||
let surface = Surface {
|
||||
let surface = Handle::new(Surface {
|
||||
geometry: Plane::from_points(
|
||||
[&q.start, r, s].map(|vertex| vertex.point),
|
||||
),
|
||||
};
|
||||
});
|
||||
let face = Face::new(
|
||||
Handle::new(surface),
|
||||
surface,
|
||||
[&q.start, r, s, &t.start].map(|vertex| {
|
||||
Handle::new(HalfEdge {
|
||||
start: vertex.clone(),
|
||||
|
Loading…
Reference in New Issue
Block a user