From 2fe3c50bef0b2c947bb48133f2d8f0452a8229c5 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:18:51 -0600 Subject: [PATCH] feat: some cleanuo --- .../HeroSection/components/TankSandbox/components/Control.tsx | 2 -- .../components/TankSandbox/components/SceneProps/index.tsx | 2 -- 2 files changed, 4 deletions(-) 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 ac3a885da..5cbf312bf 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 @@ -269,8 +269,6 @@ export function Controls() { ShootingRangeZoom.Arcade, ShootingRangeZoom.Zoom2, ); - - console.log(draft.shootingRangeZoom); }); } diff --git a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/SceneProps/index.tsx b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/SceneProps/index.tsx index a27d598bd..e372d7d82 100644 --- a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/SceneProps/index.tsx +++ b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/SceneProps/index.tsx @@ -103,7 +103,6 @@ export function SceneProps() { { equipmentDefinitions, provisionDefinitions, tankModelDefinition }, ); let { dispersion } = characteristics; - const turretRotationSpeed = degToRad(characteristics.turretTraverseSpeed); const gunRotationSpeed = degToRad(characteristics.gunTraverseSpeed); const mockTank = useLoader(GLTFLoader, asset(`3d/tanks/models/12305.glb`)); const texture = useLoader(TextureLoader, imgur('C28Z8nU')); @@ -115,7 +114,6 @@ export function SceneProps() { }); let lastTime = 0; - let lastPenalty = 0; let DEBUG_disable = false; useFrame(({ raycaster, camera, clock, gl }) => {