Remove unused code and update packages

This commit is contained in:
2022-09-23 10:07:01 +02:00
parent 2b30f3b07a
commit b764b4d1d1
6 changed files with 144 additions and 170 deletions

View File

@@ -4,15 +4,4 @@ import type { Easing } from 'motion'
/**
* Ease: Quart Out Array
*/
export const quartOut: Easing = [.165, .84, .44, 1]
/**
* Ease: Quart In Out function
*/
export const quartInOutFunc = (t: number, b: number, c: number, d: number) => {
t /= d/2
if (t < 1) return c/2 * t * t * t * t + b
t -= 2
return -c / 2 * (t * t * t * t - 2) + b
}
export const quartOut: Easing = [.165, .84, .44, 1]