Remove unused code

This commit is contained in:
Hanno Braun 2022-10-13 14:23:49 +02:00
parent cc7936b29b
commit 670a155386

View File

@ -1,4 +1,3 @@
use parry2d_f64::utils::point_in_triangle::Orientation;
use parry3d_f64::query::{Ray, RayCast as _};
use crate::Vector;
@ -134,16 +133,6 @@ pub enum Winding {
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)]
mod tests {
use crate::{Point, Vector};