Trait interpolation::Lerp [−][src]
Describes a type that can linearly interpolate between two points.
Associated Types
Loading content...Required methods
fn lerp(&self, other: &Self, scalar: &Self::Scalar) -> Self[src]
Given self and another point other, return a point on a line running between the two
that is scalar fraction of the distance between the two points.
Implementations on Foreign Types
impl Lerp for f32[src]
impl Lerp for f64[src]
impl Lerp for i8[src]
impl Lerp for i16[src]
impl Lerp for i32[src]
impl Lerp for i64[src]
impl Lerp for u8[src]
impl Lerp for u16[src]
impl Lerp for u32[src]
impl Lerp for u64[src]
impl<T> Lerp for [T; 1] where
T: Lerp, [src]
T: Lerp,
impl<T> Lerp for [T; 2] where
T: Lerp, [src]
T: Lerp,
impl<T> Lerp for [T; 3] where
T: Lerp, [src]
T: Lerp,
impl<T> Lerp for [T; 4] where
T: Lerp, [src]
T: Lerp,
impl<T> Lerp for [T; 5] where
T: Lerp, [src]
Loading content...T: Lerp,