Remove nalgebra point interpolation.
This commit is contained in:
		
							
								
								
									
										14
									
								
								tests/mod.rs
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								tests/mod.rs
									
									
									
									
									
								
							| @@ -145,20 +145,6 @@ fn several_interpolations_several_keys() { | ||||
|   assert_eq!(spline.clamped_sample(11.), Some(4.)); | ||||
| } | ||||
|  | ||||
| #[cfg(feature = "impl-nalgebra")] | ||||
| #[test] | ||||
| fn nalgebra_point_interpolation() { | ||||
|   use splines::Interpolate; | ||||
|  | ||||
|   let start = na::Point2::new(0.0, 0.0); | ||||
|   let mid = na::Point2::new(0.5, 0.5); | ||||
|   let end = na::Point2::new(1.0, 1.0); | ||||
|  | ||||
|   assert_eq!(Interpolate::lerp(start, end, 0.0), start); | ||||
|   assert_eq!(Interpolate::lerp(start, end, 1.0), end); | ||||
|   assert_eq!(Interpolate::lerp(start, end, 0.5), mid); | ||||
| } | ||||
|  | ||||
| #[cfg(feature = "impl-nalgebra")] | ||||
| #[test] | ||||
| fn nalgebra_vector_interpolation() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user