Trait interpolation::Lerp
source · pub trait Lerp {
type Scalar;
// Required method
fn lerp(&self, other: &Self, scalar: &Self::Scalar) -> Self;
}
Expand description
Describes a type that can linearly interpolate between two points.