mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-15 12:47:19 +00:00
Update variable name
This commit is contained in:
parent
41c3559870
commit
1af539c918
@ -213,12 +213,12 @@ mod tests {
|
|||||||
.as_line_segment_from_points([[0., 0.], [0., 1.]])
|
.as_line_segment_from_points([[0., 0.], [0., 1.]])
|
||||||
.build(&objects)
|
.build(&objects)
|
||||||
.reverse();
|
.reverse();
|
||||||
let right = HalfEdge::partial()
|
let side_up = HalfEdge::partial()
|
||||||
.with_surface(Some(surface.clone()))
|
.with_surface(Some(surface.clone()))
|
||||||
.as_line_segment_from_points([[1., 0.], [1., 1.]])
|
.as_line_segment_from_points([[1., 0.], [1., 1.]])
|
||||||
.build(&objects);
|
.build(&objects);
|
||||||
|
|
||||||
let cycle = Cycle::new(surface, [bottom, right, top, side_down]);
|
let cycle = Cycle::new(surface, [bottom, side_up, top, side_down]);
|
||||||
|
|
||||||
Face::from_exterior(cycle)
|
Face::from_exterior(cycle)
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user