Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Oct 13, 2022
1 parent cc7936b commit 670a155
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions crates/fj-math/src/triangle.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use parry2d_f64::utils::point_in_triangle::Orientation;
use parry3d_f64::query::{Ray, RayCast as _};

use crate::Vector;
Expand Down Expand Up @@ -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};
Expand Down

0 comments on commit 670a155

Please sign in to comment.