Lint issues cleanup
This commit is contained in:
parent
7bf0354ef3
commit
c26c922642
@ -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<HTMLCanvasElement>('#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 );
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user