Trait cppn::position::Interpolate [] [src]

pub trait Interpolate {
    fn interpolate(&self, other: &Self, t: f64) -> Self;
    fn interpolate_multi(&self, other: &Self, t: &Self) -> Self;
}

Required Methods

Linearly interpolates between self and other. For t = 0.0 this should return self. For t = 1.0 this should return other.

Implementors