Remove redundant re-exports

This commit is contained in:
Hanno Braun 2025-01-31 21:02:40 +01:00
parent a286059145
commit a489484f95
7 changed files with 6 additions and 8 deletions

View File

@ -1,7 +1,7 @@
use crate::{ use crate::{
math::{Plane, Point}, math::{Plane, Point},
storage::Store, storage::Store,
topology::{Face, Vertex}, topology::{face::Face, vertex::Vertex},
}; };
use super::Handle; use super::Handle;

View File

@ -2,7 +2,7 @@ use crate::{
geometry::{AnyOp, Sketch}, geometry::{AnyOp, Sketch},
math::{Bivector, Plane, Point, Vector}, math::{Bivector, Plane, Point, Vector},
storage::Stores, storage::Stores,
topology::Solid, topology::solid::Solid,
}; };
pub fn model() -> AnyOp { pub fn model() -> AnyOp {

View File

@ -3,7 +3,7 @@ use std::marker::PhantomData;
use crate::{ use crate::{
geometry::Handle, geometry::Handle,
math::Plane, math::Plane,
topology::{Face, Vertex}, topology::{face::Face, vertex::Vertex},
}; };
#[derive(Default)] #[derive(Default)]

View File

@ -7,7 +7,7 @@ use crate::{
storage::Store, storage::Store,
}; };
use super::Vertex; use super::vertex::Vertex;
#[derive(Debug)] #[derive(Debug)]
pub struct Face { pub struct Face {

View File

@ -2,5 +2,3 @@ pub mod face;
pub mod solid; pub mod solid;
pub mod sweep; pub mod sweep;
pub mod vertex; pub mod vertex;
pub use self::{face::Face, solid::Solid, vertex::Vertex};

View File

@ -4,7 +4,7 @@ use crate::{
storage::Store, storage::Store,
}; };
use super::{sweep::SweepExt, Face, Vertex}; use super::{face::Face, sweep::SweepExt, vertex::Vertex};
pub struct Solid { pub struct Solid {
faces: Vec<Handle<Face>>, faces: Vec<Handle<Face>>,

View File

@ -4,7 +4,7 @@ use crate::{
storage::Store, storage::Store,
}; };
use super::{Face, Solid, Vertex}; use super::{face::Face, solid::Solid, vertex::Vertex};
pub trait SweepExt { pub trait SweepExt {
/// Sweep a face along a path, creating a solid /// Sweep a face along a path, creating a solid