Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Sep 2, 2021
1 parent cd768fc commit 0d64a86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
5 changes: 1 addition & 4 deletions example/cmptExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -60,8 +59,6 @@ function init() {
const ambLight = new AmbientLight( 0xffffff, 0.05 );
scene.add( ambLight );

box = new Box3();

new CMPTLoader()
.load( '...' )
.then( res => {
Expand Down
5 changes: 1 addition & 4 deletions example/i3dmExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
AmbientLight,
WebGLRenderer,
PerspectiveCamera,
Box3,
sRGBEncoding,
PCFSoftShadowMap,
Vector3,
Expand All @@ -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();
Expand Down Expand Up @@ -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 => {
Expand Down
5 changes: 1 addition & 4 deletions example/pntsExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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 => {
Expand Down

0 comments on commit 0d64a86

Please sign in to comment.