pub struct OutSmoother;Expand description
The OutSmoother Curve (ease-out).
Mirror of InSmoother: Out(t) = 1 - In(1-t) = t * (3t⁴ - 10t² + 15) / 8
Starts fast, decelerates toward the end.
§examples.
use eazy::Curve;
use eazy::interpolation::polynomial::smootherstep::OutSmoother;
let p = OutSmoother.y(0.5);
assert!((p - 0.79296875).abs() < 0.0001);Trait Implementations§
Source§impl Curve for OutSmoother
impl Curve for OutSmoother
Auto Trait Implementations§
impl Freeze for OutSmoother
impl RefUnwindSafe for OutSmoother
impl Send for OutSmoother
impl Sync for OutSmoother
impl Unpin for OutSmoother
impl UnwindSafe for OutSmoother
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more