[][src]Trait nova_math::traits::Lerp

pub trait Lerp<F: Real> {
    fn lerp(&self, b: &Self, factor: F) -> Self;
}

This type can perform linear interpolate from a to b with factor

Required methods

fn lerp(&self, b: &Self, factor: F) -> Self

Return the result of interpolating between self and b with factor factor

Loading content...

Implementations on Foreign Types

impl Lerp<f32> for f32[src]

impl Lerp<f64> for f64[src]

Loading content...

Implementors

impl<T: Real> Lerp<T> for TVec2<T>[src]

impl<T: Real> Lerp<T> for TVec3<T>[src]

impl<T: Real> Lerp<T> for TVec4<T>[src]

Loading content...