mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-15 12:47:19 +00:00
Update order of code
This commit is contained in:
parent
1af539c918
commit
76d4ccc882
@ -203,6 +203,10 @@ mod tests {
|
|||||||
.with_surface(Some(surface.clone()))
|
.with_surface(Some(surface.clone()))
|
||||||
.as_line_segment_from_points([[0., 0.], [1., 0.]])
|
.as_line_segment_from_points([[0., 0.], [1., 0.]])
|
||||||
.build(&objects);
|
.build(&objects);
|
||||||
|
let side_up = HalfEdge::partial()
|
||||||
|
.with_surface(Some(surface.clone()))
|
||||||
|
.as_line_segment_from_points([[1., 0.], [1., 1.]])
|
||||||
|
.build(&objects);
|
||||||
let top = HalfEdge::partial()
|
let top = HalfEdge::partial()
|
||||||
.with_surface(Some(surface.clone()))
|
.with_surface(Some(surface.clone()))
|
||||||
.as_line_segment_from_points([[0., 1.], [1., 1.]])
|
.as_line_segment_from_points([[0., 1.], [1., 1.]])
|
||||||
@ -213,10 +217,6 @@ 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 side_up = HalfEdge::partial()
|
|
||||||
.with_surface(Some(surface.clone()))
|
|
||||||
.as_line_segment_from_points([[1., 0.], [1., 1.]])
|
|
||||||
.build(&objects);
|
|
||||||
|
|
||||||
let cycle = Cycle::new(surface, [bottom, side_up, top, side_down]);
|
let cycle = Cycle::new(surface, [bottom, side_up, top, side_down]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user