Skip to content

Commit

Permalink
Update variable names to current nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Oct 18, 2022
1 parent b4739e0 commit b990e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-kernel/src/partial/objects/edge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ impl PartialHalfEdge {
.with_surface(Some(surface))
.as_line_from_points(points);

let [a, b] = [(from, 0.), (to, 1.)].map(|(vertex, position)| {
let [back, front] = [(from, 0.), (to, 1.)].map(|(vertex, position)| {
vertex.update_partial(|vertex| {
vertex
.with_position(Some([position]))
Expand All @@ -195,7 +195,7 @@ impl PartialHalfEdge {
});

self.curve = Some(curve.into());
self.vertices = [Some(a), Some(b)];
self.vertices = [Some(back), Some(front)];

self
}
Expand Down

0 comments on commit b990e76

Please sign in to comment.