mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-03 17:38:27 +00:00
Prepare to clarify code
This commit is contained in:
parent
3bcca381ee
commit
2eae83ed01
@ -72,6 +72,7 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec<Handle<Face>> {
|
||||
|
||||
let a = &bottom_half_edge.start;
|
||||
let b = bottom_half_edge_end;
|
||||
let c = top_b;
|
||||
|
||||
let surface = Handle::new(Surface {
|
||||
geometry: Box::new(Plane::from_points(
|
||||
@ -80,7 +81,7 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec<Handle<Face>> {
|
||||
});
|
||||
let face = Face::new(
|
||||
surface,
|
||||
[a, b, top_b, &top_a.start].map(|vertex| {
|
||||
[a, b, c, &top_a.start].map(|vertex| {
|
||||
Handle::new(HalfEdge {
|
||||
curve: Handle::new(Curve {}),
|
||||
start: vertex.clone(),
|
||||
|
Loading…
Reference in New Issue
Block a user