From fcfff0a7f50d682734d4c70efce7ad5f498de044 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 4 May 2023 12:41:41 +0200 Subject: [PATCH] Update imports --- crates/fj-kernel/src/operations/build/cycle.rs | 4 +--- crates/fj-kernel/src/operations/build/face.rs | 7 ++++--- crates/fj-kernel/src/operations/build/shell.rs | 5 ++--- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/crates/fj-kernel/src/operations/build/cycle.rs b/crates/fj-kernel/src/operations/build/cycle.rs index ffb76f516..2e97cf50d 100644 --- a/crates/fj-kernel/src/operations/build/cycle.rs +++ b/crates/fj-kernel/src/operations/build/cycle.rs @@ -3,12 +3,10 @@ use itertools::Itertools; use crate::{ objects::{Cycle, HalfEdge}, - operations::Insert, + operations::{BuildHalfEdge, Insert}, services::Services, }; -use super::BuildHalfEdge; - /// Build a [`Cycle`] pub trait BuildCycle { /// Build an empty cycle diff --git a/crates/fj-kernel/src/operations/build/face.rs b/crates/fj-kernel/src/operations/build/face.rs index 76e12f18d..4146367a2 100644 --- a/crates/fj-kernel/src/operations/build/face.rs +++ b/crates/fj-kernel/src/operations/build/face.rs @@ -3,13 +3,14 @@ use fj_math::Point; use crate::{ objects::{Cycle, Face, HalfEdge, Surface, Vertex}, - operations::{Insert, IsInserted, IsInsertedNo}, + operations::{ + BuildCycle, BuildHalfEdge, BuildSurface, Insert, IsInserted, + IsInsertedNo, + }, services::Services, storage::Handle, }; -use super::{BuildCycle, BuildHalfEdge, BuildSurface}; - /// Build a [`Face`] pub trait BuildFace { /// Build a face with an empty exterior, no interiors, and no color diff --git a/crates/fj-kernel/src/operations/build/shell.rs b/crates/fj-kernel/src/operations/build/shell.rs index 41ed095af..83aeed52e 100644 --- a/crates/fj-kernel/src/operations/build/shell.rs +++ b/crates/fj-kernel/src/operations/build/shell.rs @@ -3,13 +3,12 @@ use fj_math::Point; use crate::{ objects::{Face, Shell}, operations::{ - Insert, IsInserted, IsInsertedNo, IsInsertedYes, JoinCycle, UpdateFace, + BuildFace, Insert, IsInserted, IsInsertedNo, IsInsertedYes, JoinCycle, + Polygon, UpdateFace, }, services::Services, }; -use super::{BuildFace, Polygon}; - /// Build a [`Shell`] pub trait BuildShell { /// Build a tetrahedron from the provided points