文件操作 - Expo.as
返回文件管理
返回主菜单
删除本文件
文件: /home/tecnoht/public_html/gigisantamaria--com/--old19965547/oldfile/com/robertpenner/easing/Expo.as
编辑文件内容
class com.robertpenner.easing.Expo { function Expo() { } // End of the function static function easeIn(t, b, c, d) { return (t == 0 ? (b) : (c * Math.pow(2, 10 * (t / d - 1)) + b)); } // End of the function static function easeOut(t, b, c, d) { return (t == d ? (b + c) : (c * (-Math.pow(2, -10 * t / d) + 1) + b)); } // End of the function static function easeInOut(t, b, c, d) { if (t == 0) { return (b); } // end if if (t == d) { return (b + c); } // end if t = t / (d / 2); if (t < 1) { return (c / 2 * Math.pow(2, 10 * (t - 1)) + b); } // end if return (c / 2 * (-Math.pow(2, -10 * --t) + 2) + b); } // End of the function static function easeOutIn(t, b, c, d) { if (t == 0) { return (b); } // end if if (t == d) { return (b + c); } // end if t = t / (d / 2); if (t < 1) { return (c / 2 * (-Math.pow(2, -10 * t) + 1) + b); } // end if return (c / 2 * (Math.pow(2, 10 * (t - 2)) + 1) + b); } // End of the function } // End of Class
修改文件时间
将文件时间修改为当前时间的前一年
删除文件