Skip to content

Commit

Permalink
Make variable name more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Dec 12, 2022
1 parent 88bbce9 commit 58e722c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/fj-kernel/src/builder/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ impl ShellBuilder {
let from = from.read();
from.surface_form.clone()
};
let to = PartialSurfaceVertex {
let to_surface = PartialSurfaceVertex {
position: Some(
from_surface.read().position.unwrap()
+ [Z, edge_length],
Expand All @@ -147,10 +147,10 @@ impl ShellBuilder {
},
PartialVertex {
curve: Partial::from_partial(PartialCurve {
surface: to.surface.clone(),
surface: to_surface.surface.clone(),
..Default::default()
}),
surface_form: Partial::from_partial(to),
surface_form: Partial::from_partial(to_surface),
..Default::default()
},
]
Expand Down

0 comments on commit 58e722c

Please sign in to comment.