Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Nov 30, 2022
1 parent cb46029 commit eca37a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions crates/fj-kernel/src/builder/sketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,11 @@ use super::FaceBuilder;
///
/// Also see [`Sketch::builder`].
pub struct SketchBuilder {
/// The surface that the [`Sketch`] is defined in
pub surface: Option<Handle<Surface>>,

/// The faces that make up the [`Sketch`]
pub faces: FaceSet,
}

impl SketchBuilder {
/// Build the [`Sketch`] with the provided [`Surface`]
pub fn with_surface(mut self, surface: Handle<Surface>) -> Self {
self.surface = Some(surface);
self
}

/// Build the [`Sketch`] with the provided faces
pub fn with_faces(
mut self,
Expand Down
1 change: 0 additions & 1 deletion crates/fj-kernel/src/objects/full/sketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ impl Sketch {
/// Build a `Sketch` using [`SketchBuilder`]
pub fn builder() -> SketchBuilder {
SketchBuilder {
surface: None,
faces: FaceSet::new(),
}
}
Expand Down

0 comments on commit eca37a7

Please sign in to comment.