mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-14 23:08:29 +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 {
|
pub trait SurfaceGeometry {
|
||||||
fn point_from_local(&self, point: Point<2>) -> Point<3>;
|
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)]
|
#[derive(Clone, Copy, Debug)]
|
||||||
pub struct Bivector<const D: usize> {
|
pub struct Bivector<const D: usize> {
|
||||||
|
@ -3,5 +3,3 @@ mod plane;
|
|||||||
mod point;
|
mod point;
|
||||||
|
|
||||||
pub use self::{bivector::Bivector, plane::Plane, point::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)]
|
#[derive(Clone, Copy, Debug)]
|
||||||
pub struct Plane {
|
pub struct Plane {
|
||||||
@ -61,7 +63,9 @@ impl Plane {
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::math::{Bivector, Point, Vector};
|
use fj_math::Vector;
|
||||||
|
|
||||||
|
use crate::math::{Bivector, Point};
|
||||||
|
|
||||||
use super::Plane;
|
use super::Plane;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use std::ops;
|
use std::ops;
|
||||||
|
|
||||||
use super::Vector;
|
use fj_math::Vector;
|
||||||
|
|
||||||
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
|
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
|
||||||
pub struct Point<const D: usize> {
|
pub struct Point<const D: usize> {
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
|
use fj_math::Vector;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
geometry::{Sketch, ToTriMesh, TriMesh},
|
geometry::{Sketch, ToTriMesh, TriMesh},
|
||||||
handle::Handle,
|
handle::Handle,
|
||||||
math::{Bivector, Plane, Point, Vector},
|
math::{Bivector, Plane, Point},
|
||||||
operations::sweep::SweepExt,
|
operations::sweep::SweepExt,
|
||||||
topology::surface::Surface,
|
topology::surface::Surface,
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
use fj_math::Vector;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
handle::Handle,
|
handle::Handle,
|
||||||
math::Vector,
|
|
||||||
topology::{face::Face, solid::Solid},
|
topology::{face::Face, solid::Solid},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
use fj_math::Vector;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
handle::Handle,
|
handle::Handle,
|
||||||
math::Vector,
|
|
||||||
topology::{
|
topology::{
|
||||||
face::Face, half_edge::HalfEdge, surface::Surface, vertex::Vertex,
|
face::Face, half_edge::HalfEdge, surface::Surface, vertex::Vertex,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user