Sfoglia il codice sorgente

Update PointLightHelper.js

Removing TODO.
Michael Herzog 3 settimane fa
parent
commit
5f476ae20d
1 ha cambiato i file con 0 aggiunte e 24 eliminazioni
  1. 0 24
      src/helpers/PointLightHelper.js

+ 0 - 24
src/helpers/PointLightHelper.js

@@ -57,30 +57,6 @@ class PointLightHelper extends Mesh {
 
 		this.update();
 
-
-		/*
-	// TODO: delete this comment?
-	const distanceGeometry = new THREE.IcosahedronGeometry( 1, 2 );
-	const distanceMaterial = new THREE.MeshBasicMaterial( { color: hexColor, fog: false, wireframe: true, opacity: 0.1, transparent: true } );
-
-	this.lightSphere = new THREE.Mesh( bulbGeometry, bulbMaterial );
-	this.lightDistance = new THREE.Mesh( distanceGeometry, distanceMaterial );
-
-	const d = light.distance;
-
-	if ( d === 0.0 ) {
-
-		this.lightDistance.visible = false;
-
-	} else {
-
-		this.lightDistance.scale.set( d, d, d );
-
-	}
-
-	this.add( this.lightDistance );
-	*/
-
 	}
 
 	/**

粤ICP备19079148号