Skip to content

Commit f561a1b

Browse files
committed
initial imports switch
1 parent 5091076 commit f561a1b

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

src/mesh/flatten_slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Provides functions for flattening a `Mesh` against the Z=0 `Plane`
22
//! or slicing a `Mesh` with an arbitrary `Plane` into a `Sketch`
33
4-
use crate::float_types::{EPSILON, Real};
4+
use crate::math_ndsp::consts::{EPSILON, Real};
55
use crate::mesh::Mesh;
66
use crate::mesh::bsp::Node;
77
use crate::mesh::plane::Plane;

src/mesh/metaballs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Provides a `MetaBall` struct and functions for creating a `Mesh` from [MetaBalls](https://en.wikipedia.org/wiki/Metaballs)
22
3-
use crate::float_types::{EPSILON, Real};
3+
use crate::math_ndsp::consts::{EPSILON, Real};
44
use crate::mesh::Mesh;
55
use crate::mesh::polygon::Polygon;
66
use crate::mesh::vertex::Vertex;

src/mesh/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! `Mesh` struct and implementations of the `CSGOps` trait for `Mesh`
22
3-
use crate::float_types::{
3+
use crate::math_ndsp::consts::{
44
parry3d::{
55
bounding_volume::{Aabb, BoundingVolume},
66
query::RayCast,

src/mesh/plane.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
//!
6767
//! Unless stated otherwise, all tolerances are governed by `float_types::EPSILON`.
6868
69-
use crate::float_types::{EPSILON, Real};
69+
use crate::math_ndsp::consts::{EPSILON, Real};
7070
use crate::mesh::polygon::Polygon;
7171
use crate::mesh::vertex::Vertex;
7272
use nalgebra::{Isometry3, Matrix4, Point3, Rotation3, Translation3, Vector3};

src/mesh/polygon.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Struct and functions for working with planar `Polygon`s without holes
22
3-
use crate::float_types::{Real, parry3d::bounding_volume::Aabb};
3+
use crate::math_ndsp::consts::{Real, parry3d::bounding_volume::Aabb};
44
use crate::mesh::plane::Plane;
55
use crate::mesh::vertex::Vertex;
66
use geo::{LineString, Polygon as GeoPolygon, coord};

src/mesh/quality.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::float_types::{PI, Real};
1+
use crate::math_ndsp::consts::{PI, Real};
22
use crate::mesh::Mesh;
33
use crate::mesh::vertex::Vertex;
44
use std::fmt::Debug;

src/mesh/shapes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! 3D Shapes as `Mesh`s
22
33
use crate::errors::ValidationError;
4-
use crate::float_types::{EPSILON, PI, Real, TAU};
4+
use crate::math_ndsp::consts::{EPSILON, PI, Real, TAU};
55
use crate::mesh::Mesh;
66
use crate::mesh::polygon::Polygon;
77
use crate::mesh::vertex::Vertex;

src/mesh/vertex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Struct and functions for working with `Vertex`s from which `Polygon`s are composed.
22
3-
use crate::float_types::{PI, Real};
3+
use crate::math_ndsp::consts::{PI, Real};
44
use hashbrown::HashMap;
55
use nalgebra::{Point3, Vector3};
66

src/sketch/extrudes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Functions to extrude, revolve, loft, and otherwise transform 2D `Sketch`s into 3D `Mesh`s
22
33
use crate::errors::ValidationError;
4-
use crate::float_types::{EPSILON, Real};
4+
use crate::math_ndsp::consts::{EPSILON, Real};
55
use crate::mesh::Mesh;
66
use crate::mesh::polygon::Polygon;
77
use crate::mesh::vertex::Vertex;

src/sketch/metaballs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Provides a `MetaBall` struct and functions for creating a `Sketch` from [MetaBalls](https://en.wikipedia.org/wiki/Metaballs)
22
3-
use crate::float_types::{EPSILON, Real};
3+
use crate::math_ndsp::consts::{EPSILON, Real};
44
use crate::sketch::Sketch;
55
use crate::traits::CSG;
66
use geo::{

0 commit comments

Comments
 (0)