pub trait Lerp<T: Float> {
// Required method
fn lerp(e0: Self, e1: Self, t: T) -> Self;
}Expand description
trait for performing linear interpolation on scalars, vectors or quaternions
Required Methods§
Implementations on Foreign Types§
Implementors§
impl<T> Lerp<T> for Quat<T>where T: Float + FloatOps<T> + NumberOps<T>,
returns a quaternion lineraly interpolated between e0 and e1 by percentage t