Function maths_rs::smooth_stop2

source ·
pub fn smooth_stop2<T: Float, X: Base<T> + SignedNumberOps<T>>(
    t: X,
    b: X,
    c: X,
    d: X
) -> X
Expand description

returns value t between the range c and d with offset b creating smooth easing at the end of t (t^2)