From 429ee073e3850ace02ba3bc63ffb2412610f671f Mon Sep 17 00:00:00 2001 From: neru <152752583+neeeruuu@users.noreply.github.com> Date: Fri, 2 Jan 2026 07:44:45 -0300 Subject: [PATCH] style: fix all lint warnings --- src/app/page.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index d9d8deb..3e4a99f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -25,13 +25,11 @@ import { TextureLoader, Color, MeshStandardMaterial, - FogExp2 } from 'three'; import { LUTCubeLoader } from 'three/examples/jsm/loaders/LUTCubeLoader'; import './page.css'; import { createNoise2D } from 'simplex-noise'; -import { useControls } from 'leva'; import grassVert from './shaders/grass.vert'; import grassFrag from './shaders/grass.frag'; @@ -189,8 +187,6 @@ function Grass({ const lushColor = new Color('#348a34'); const dryColor = new Color('#556b19'); - const chunkRadius = size * Math.sqrt(2); - let instanceIndex = 0; for (let i = 0; i < count; i++) { @@ -340,7 +336,7 @@ function Grass({ materialRef.current.userData.shader = shader; } }, - [grassLOD] + [] ); return ( @@ -623,7 +619,9 @@ function Loader() { return (
+
+