Trait F32Ext

Source
pub trait F32Ext {
    // Required method
    fn lerp(self, other: f32, t: f32) -> f32;
}
Expand description

An extension trait for f32.

Required Methods§

Source

fn lerp(self, other: f32, t: f32) -> f32

Linearly interpolate between self and other with parameter t.

Implementations on Foreign Types§

Source§

impl F32Ext for f32

Source§

fn lerp(self, other: f32, t: f32) -> f32

Implementors§