Update variable name

This commit is contained in:
Hanno Braun 2022-10-13 16:59:56 +02:00
parent a6091e81f4
commit 41c3559870

View File

@ -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)
}; };