[][src]Trait carambolage::util::Lerp

pub trait Lerp {
    fn lerp(a: &Self, b: &Self, factor: f32) -> Self;
}

Interpolate from a to b with a given factor. factor = 0.0 returns a factor = 1.0 returns b

Required Methods

Implementations on Foreign Types

impl Lerp for Vector2<f32>
[src]

impl Lerp for Vector3<f32>
[src]

impl Lerp for f32
[src]

Implementors