mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-15 12:47:19 +00:00
Update variable names
The previous ones no long fit the current code.
This commit is contained in:
parent
b39c3ba097
commit
b0ac9a9d70
@ -166,8 +166,8 @@ impl PartialCycle {
|
||||
let half_edges = {
|
||||
let (half_edges, _) = self.half_edges.into_iter().fold(
|
||||
(Vec::new(), None),
|
||||
|(mut half_edges, previous_vertex), next| {
|
||||
let next = next
|
||||
|(mut half_edges, previous_vertex), half_edge| {
|
||||
let half_edge = half_edge
|
||||
.update_partial(|half_edge| {
|
||||
let [from, _] = half_edge.vertices.clone();
|
||||
let from = from.map(|vertex| {
|
||||
@ -182,8 +182,8 @@ impl PartialCycle {
|
||||
})
|
||||
.into_full(objects);
|
||||
|
||||
let front = next.front().surface_form().clone();
|
||||
half_edges.push(next);
|
||||
let front = half_edge.front().surface_form().clone();
|
||||
half_edges.push(half_edge);
|
||||
|
||||
(half_edges, Some(front))
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user