Remove redundant re-export

This commit is contained in:
Hanno Braun 2025-03-21 22:53:14 +01:00
parent 553401d6e7
commit cd8e0ef734
8 changed files with 18 additions and 10 deletions

View File

@ -1,4 +1,6 @@
use crate::math::{Plane, Point, Vector};
use fj_math::Vector;
use crate::math::{Plane, Point};
pub trait SurfaceGeometry {
fn point_from_local(&self, point: Point<2>) -> Point<3>;

View File

@ -1,4 +1,4 @@
use super::Vector;
use fj_math::Vector;
#[derive(Clone, Copy, Debug)]
pub struct Bivector<const D: usize> {

View File

@ -3,5 +3,3 @@ mod plane;
mod point;
pub use self::{bivector::Bivector, plane::Plane, point::Point};
pub use fj_math::Vector;

View File

@ -1,4 +1,6 @@
use super::{Bivector, Point, Vector};
use fj_math::Vector;
use super::{Bivector, Point};
#[derive(Clone, Copy, Debug)]
pub struct Plane {
@ -61,7 +63,9 @@ impl Plane {
#[cfg(test)]
mod tests {
use crate::math::{Bivector, Point, Vector};
use fj_math::Vector;
use crate::math::{Bivector, Point};
use super::Plane;

View File

@ -1,6 +1,6 @@
use std::ops;
use super::Vector;
use fj_math::Vector;
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
pub struct Point<const D: usize> {

View File

@ -1,7 +1,9 @@
use fj_math::Vector;
use crate::{
geometry::{Sketch, ToTriMesh, TriMesh},
handle::Handle,
math::{Bivector, Plane, Point, Vector},
math::{Bivector, Plane, Point},
operations::sweep::SweepExt,
topology::surface::Surface,
};

View File

@ -1,6 +1,7 @@
use fj_math::Vector;
use crate::{
handle::Handle,
math::Vector,
topology::{face::Face, solid::Solid},
};

View File

@ -1,6 +1,7 @@
use fj_math::Vector;
use crate::{
handle::Handle,
math::Vector,
topology::{
face::Face, half_edge::HalfEdge, surface::Surface, vertex::Vertex,
},