From c26c92264283a00321fcd75eb8879a8dafaec162 Mon Sep 17 00:00:00 2001 From: Danylo Dotsenko Date: Sat, 27 Jan 2024 13:31:00 -0500 Subject: [PATCH] Lint issues cleanup --- src/main.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main.ts b/src/main.ts index 5648d55..b149184 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,9 +1,8 @@ import './style.css' import * as THREE from 'three'; -import { GLTFLoader, OBJLoader, OrbitControls } from 'three/examples/jsm/Addons'; +import { GLTFLoader, OrbitControls } from 'three/examples/jsm/Addons'; let fish: any; -let fishes: any[]; const gltfLoader = new GLTFLoader(); const canvas: HTMLCanvasElement = document.querySelector('#main-canvas')!; @@ -41,9 +40,9 @@ controls.update(); //Create basic shape -const geometry = new THREE.BoxGeometry(1, 1, 1); -const material = new THREE.MeshBasicMaterial({ color: 'red' }); -const cube = new THREE.Mesh(geometry, material); +//const geometry = new THREE.BoxGeometry(1, 1, 1); +//const material = new THREE.MeshBasicMaterial({ color: 'red' }); +//const cube = new THREE.Mesh(geometry, material); //scene.add( cube );