mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-15 21:00:20 +00:00
Remove unused code
This commit is contained in:
parent
cc7936b29b
commit
670a155386
@ -1,4 +1,3 @@
|
|||||||
use parry2d_f64::utils::point_in_triangle::Orientation;
|
|
||||||
use parry3d_f64::query::{Ray, RayCast as _};
|
use parry3d_f64::query::{Ray, RayCast as _};
|
||||||
|
|
||||||
use crate::Vector;
|
use crate::Vector;
|
||||||
@ -134,16 +133,6 @@ pub enum Winding {
|
|||||||
Cw,
|
Cw,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<Orientation> for Winding {
|
|
||||||
fn from(o: Orientation) -> Self {
|
|
||||||
match o {
|
|
||||||
Orientation::Ccw => Winding::Ccw,
|
|
||||||
Orientation::Cw => Winding::Cw,
|
|
||||||
Orientation::None => unreachable!("not a triangle"),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::{Point, Vector};
|
use crate::{Point, Vector};
|
||||||
|
Loading…
Reference in New Issue
Block a user