Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///sc_easing_between_values(startValue, endValue, time, duration, easingFunction)
- var startValue = argument0;
- var endValue = argument1;
- var time = argument2;
- var duration = argument3;
- var easingFunction = argument4;
- var progress = time / duration;
- var easing = sc_easing(progress, easingFunction);
- return startValue + (endValue - startValue) * easing;
Advertisement
Add Comment
Please, Sign In to add comment