You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
331 B

1 month ago
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. function easeInOutCubic(t, b, c, d) {
  4. const cc = c - b;
  5. t /= d / 2;
  6. if (t < 1) {
  7. return cc / 2 * t * t * t + b;
  8. }
  9. return cc / 2 * ((t -= 2) * t * t + 2) + b;
  10. }
  11. exports.easeInOutCubic = easeInOutCubic;
  12. //# sourceMappingURL=easings.js.map