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