Add hover effect on Location
This commit is contained in:
6
src/utils/functions.ts
Normal file
6
src/utils/functions.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Linear Interpolation
|
||||
*/
|
||||
export const lerp = (start: number, end: number, amt: number): number => {
|
||||
return (1 - amt) * start + amt * end
|
||||
}
|
||||
Reference in New Issue
Block a user