Skip to content

Commit 0d64a86

Browse files
committed
lint fixes
1 parent cd768fc commit 0d64a86

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

example/cmptExample.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ import {
55
AmbientLight,
66
WebGLRenderer,
77
PerspectiveCamera,
8-
Box3,
98
sRGBEncoding,
109
PCFSoftShadowMap,
1110
} from 'three';
1211
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
1312

1413
let camera, controls, scene, renderer;
15-
let box, dirLight;
14+
let dirLight;
1615

1716
init();
1817
animate();
@@ -60,8 +59,6 @@ function init() {
6059
const ambLight = new AmbientLight( 0xffffff, 0.05 );
6160
scene.add( ambLight );
6261

63-
box = new Box3();
64-
6562
new CMPTLoader()
6663
.load( '...' )
6764
.then( res => {

example/i3dmExample.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
AmbientLight,
66
WebGLRenderer,
77
PerspectiveCamera,
8-
Box3,
98
sRGBEncoding,
109
PCFSoftShadowMap,
1110
Vector3,
@@ -15,7 +14,7 @@ import {
1514
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
1615

1716
let camera, controls, scene, renderer;
18-
let box, dirLight;
17+
let dirLight;
1918

2019
init();
2120
animate();
@@ -63,8 +62,6 @@ function init() {
6362
const ambLight = new AmbientLight( 0xffffff, 0.05 );
6463
scene.add( ambLight );
6564

66-
box = new Box3();
67-
6865
new I3DMLoader()
6966
.load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/master/tilesets/TilesetWithTreeBillboards/tree.i3dm' )
7067
.then( res => {

example/pntsExample.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ import {
55
AmbientLight,
66
WebGLRenderer,
77
PerspectiveCamera,
8-
Box3,
98
sRGBEncoding,
109
PCFSoftShadowMap,
1110
} from 'three';
1211
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
1312

1413
let camera, controls, scene, renderer;
15-
let box, dirLight;
14+
let dirLight;
1615

1716
init();
1817
animate();
@@ -60,8 +59,6 @@ function init() {
6059
const ambLight = new AmbientLight( 0xffffff, 0.05 );
6160
scene.add( ambLight );
6261

63-
box = new Box3();
64-
6562
new PNTSLoader()
6663
.load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/master/tilesets/TilesetWithRequestVolume/points.pnts' )
6764
.then( res => {

0 commit comments

Comments
 (0)