From fdcbb8f29f09b839f6c78d2b84b1b865a5397868 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Thu, 12 Dec 2024 21:07:40 -0600 Subject: [PATCH] feat: use epsilon --- .../HeroSection/components/TankSandbox/components/Control.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Control.tsx b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Control.tsx index 54bf3c682..75e173ea4 100644 --- a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Control.tsx +++ b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Control.tsx @@ -293,7 +293,7 @@ export function Controls() { .copy(aimTarget) .sub(shellOrigin) .normalize() - .multiplyScalar(-1e-4) + .multiplyScalar(-Number.EPSILON) .add(shellOrigin); } } else {