Пример #1
0
 public static float GetSmoothStepRange(Property p, float t)
 {
     return(p.start + (p.end - p.start) * EZEasings.SmoothStep3(t));
 }
Пример #2
0
 float GetSmoothStepRange(AnimationParameter p)
 {
     return(p.start + (p.end - p.start) * EZEasings.SmoothStep3(percent));
 }