From 0d64a8618786dfebe5740d59e7a59e6f844f019b Mon Sep 17 00:00:00 2001 From: Garrett Johnson Date: Thu, 2 Sep 2021 08:43:35 -0700 Subject: [PATCH] lint fixes --- example/cmptExample.js | 5 +---- example/i3dmExample.js | 5 +---- example/pntsExample.js | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/example/cmptExample.js b/example/cmptExample.js index 10a59fa91..febdb9034 100644 --- a/example/cmptExample.js +++ b/example/cmptExample.js @@ -5,14 +5,13 @@ import { AmbientLight, WebGLRenderer, PerspectiveCamera, - Box3, sRGBEncoding, PCFSoftShadowMap, } from 'three'; import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'; let camera, controls, scene, renderer; -let box, dirLight; +let dirLight; init(); animate(); @@ -60,8 +59,6 @@ function init() { const ambLight = new AmbientLight( 0xffffff, 0.05 ); scene.add( ambLight ); - box = new Box3(); - new CMPTLoader() .load( '...' ) .then( res => { diff --git a/example/i3dmExample.js b/example/i3dmExample.js index c218e4722..48e6dac67 100644 --- a/example/i3dmExample.js +++ b/example/i3dmExample.js @@ -5,7 +5,6 @@ import { AmbientLight, WebGLRenderer, PerspectiveCamera, - Box3, sRGBEncoding, PCFSoftShadowMap, Vector3, @@ -15,7 +14,7 @@ import { import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'; let camera, controls, scene, renderer; -let box, dirLight; +let dirLight; init(); animate(); @@ -63,8 +62,6 @@ function init() { const ambLight = new AmbientLight( 0xffffff, 0.05 ); scene.add( ambLight ); - box = new Box3(); - new I3DMLoader() .load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/master/tilesets/TilesetWithTreeBillboards/tree.i3dm' ) .then( res => { diff --git a/example/pntsExample.js b/example/pntsExample.js index 1c7501cff..79f981cab 100644 --- a/example/pntsExample.js +++ b/example/pntsExample.js @@ -5,14 +5,13 @@ import { AmbientLight, WebGLRenderer, PerspectiveCamera, - Box3, sRGBEncoding, PCFSoftShadowMap, } from 'three'; import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'; let camera, controls, scene, renderer; -let box, dirLight; +let dirLight; init(); animate(); @@ -60,8 +59,6 @@ function init() { const ambLight = new AmbientLight( 0xffffff, 0.05 ); scene.add( ambLight ); - box = new Box3(); - new PNTSLoader() .load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/master/tilesets/TilesetWithRequestVolume/points.pnts' ) .then( res => {