splines/
cgmath.rs

1use crate::impl_Interpolate;
2
3use cgmath::{Quaternion, Vector1, Vector2, Vector3, Vector4};
4
5impl_Interpolate!(f32, Vector1<f32>, std::f32::consts::PI);
6impl_Interpolate!(f32, Vector2<f32>, std::f32::consts::PI);
7impl_Interpolate!(f32, Vector3<f32>, std::f32::consts::PI);
8impl_Interpolate!(f32, Vector4<f32>, std::f32::consts::PI);
9impl_Interpolate!(f32, Quaternion<f32>, std::f32::consts::PI);
10
11impl_Interpolate!(f64, Vector1<f64>, std::f64::consts::PI);
12impl_Interpolate!(f64, Vector2<f64>, std::f64::consts::PI);
13impl_Interpolate!(f64, Vector3<f64>, std::f64::consts::PI);
14impl_Interpolate!(f64, Vector4<f64>, std::f64::consts::PI);
15impl_Interpolate!(f64, Quaternion<f64>, std::f64::consts::PI);