Trait lininterp::InvLerp
[−]
[src]
pub trait InvLerp<F = f32>: Sized { fn inv_lerp(&self, a: &Self, b: &Self) -> F; }
Inverse linear interpolation trait, gives the factor by which 'self' is between the range specified by the args