mirror of
				https://github.com/hannobraun/Fornjot
				synced 2025-10-31 04:08:17 +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 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}; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user