mirror of https://github.com/hannobraun/Fornjot
Remove redundant code
This commit is contained in:
parent
19da56d345
commit
a988da3e5a
|
@ -187,10 +187,8 @@ impl<'a> ShellBuilder<'a> {
|
||||||
.zip(sides_up)
|
.zip(sides_up)
|
||||||
.zip(tops.clone())
|
.zip(tops.clone())
|
||||||
.zip(sides_down)
|
.zip(sides_down)
|
||||||
.zip(surfaces)
|
.map(|(((bottom, side_up), top), side_down)| {
|
||||||
.map(|((((bottom, side_up), top), side_down), surface)| {
|
|
||||||
let cycle = Cycle::partial()
|
let cycle = Cycle::partial()
|
||||||
.with_surface(Some(surface))
|
|
||||||
.with_half_edges([bottom, side_up, top, side_down])
|
.with_half_edges([bottom, side_up, top, side_down])
|
||||||
.build(self.objects)
|
.build(self.objects)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Loading…
Reference in New Issue