From 52c1916c275f7f22cbab4249c31c5fce13c81fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Thu, 11 Nov 2021 23:03:51 +0100 Subject: [PATCH] Rename Lerp function amount argument --- src/utils/functions/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/functions/index.ts b/src/utils/functions/index.ts index d6c5749..16a9619 100644 --- a/src/utils/functions/index.ts +++ b/src/utils/functions/index.ts @@ -59,8 +59,8 @@ export const capitalizeFirstLetter = (string: string) => { /** * Linear Interpolation */ -export const lerp = (start: number, end: number, amt: number): number => { - return (1 - amt) * start + amt * end +export const lerp = (start: number, end: number, amount: number): number => { + return (1 - amount) * start + amount * end }