UNPKG

victory-vendor

Version:
20 lines (16 loc) 358 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cubicIn = cubicIn; exports.cubicInOut = cubicInOut; exports.cubicOut = cubicOut; function cubicIn(t) { return t * t * t; } function cubicOut(t) { return --t * t * t + 1; } function cubicInOut(t) { return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2; }