mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 20:08:30 +00:00
Remove redundant re-export
This commit is contained in:
parent
553401d6e7
commit
cd8e0ef734
@ -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>;
|
||||
|
@ -1,4 +1,4 @@
|
||||
use super::Vector;
|
||||
use fj_math::Vector;
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub struct Bivector<const D: usize> {
|
||||
|
@ -3,5 +3,3 @@ mod plane;
|
||||
mod point;
|
||||
|
||||
pub use self::{bivector::Bivector, plane::Plane, point::Point};
|
||||
|
||||
pub use fj_math::Vector;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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> {
|
||||
|
@ -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,
|
||||
};
|
||||
|
@ -1,6 +1,7 @@
|
||||
use fj_math::Vector;
|
||||
|
||||
use crate::{
|
||||
handle::Handle,
|
||||
math::Vector,
|
||||
topology::{face::Face, solid::Solid},
|
||||
};
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
use fj_math::Vector;
|
||||
|
||||
use crate::{
|
||||
handle::Handle,
|
||||
math::Vector,
|
||||
topology::{
|
||||
face::Face, half_edge::HalfEdge, surface::Surface, vertex::Vertex,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user