Skip to content

Commit

Permalink
Update EasingFunctions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
HunterBarclay authored Jul 18, 2024
1 parent 4dc2100 commit ddfde70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fission/src/util/EasingFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Source: https://easings.net/#easeOutQuad
*
* @param n Input of the easing function [0, 1]
* @returns n^2 - 2n + 2
* @returns -(n^2) + 2n
*/
export function easeOutQuad(n: number): number {
return 1 - (1 - n) * (1 - n)
Expand Down

0 comments on commit ddfde70

Please sign in to comment.