Trait moon_engine::math::Lerp
source · [−]pub trait Lerp: Sized + Mul<f32, Output = Self> + Add<Self, Output = Self> {
fn lerp(min: Self, max: Self, factor: f32) -> Self { ... }
}
Expand description
Linearly interpolate between two values.