Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Jan 9, 2023
1 parent 15a94bc commit ed00122
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/fj-kernel/src/builder/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@ pub trait FaceBuilder {

impl FaceBuilder for PartialFace {
fn add_interior(&mut self) -> Partial<Cycle> {
let cycle = PartialCycle {
let cycle = Partial::from_partial(PartialCycle {
surface: self.exterior.read().surface.clone(),
..Default::default()
};

let cycle = Partial::from_partial(cycle);
});
self.interiors.push(cycle.clone());

cycle
}
}

0 comments on commit ed00122

Please sign in to comment.