mirror of https://github.com/hannobraun/Fornjot
Refactor
This commit is contained in:
parent
e24c56b69a
commit
8ede469d00
|
@ -97,14 +97,11 @@ impl PartialCycle {
|
||||||
half_edge.front().surface_form().into_full(objects)?;
|
half_edge.front().surface_form().into_full(objects)?;
|
||||||
|
|
||||||
*half_edge = half_edge.clone().merge_with(
|
*half_edge = half_edge.clone().merge_with(
|
||||||
PartialHalfEdge::default()
|
PartialHalfEdge::default().with_vertices([
|
||||||
.with_back_vertex(
|
|
||||||
PartialVertex::default().with_surface_form(back_vertex),
|
PartialVertex::default().with_surface_form(back_vertex),
|
||||||
)
|
|
||||||
.with_front_vertex(
|
|
||||||
PartialVertex::default()
|
PartialVertex::default()
|
||||||
.with_surface_form(front_vertex.clone()),
|
.with_surface_form(front_vertex.clone()),
|
||||||
),
|
]),
|
||||||
);
|
);
|
||||||
|
|
||||||
previous_vertex = Some(MaybePartial::from(front_vertex));
|
previous_vertex = Some(MaybePartial::from(front_vertex));
|
||||||
|
|
Loading…
Reference in New Issue