WestLangley %!s(int64=6) %!d(string=hai) anos
pai
achega
8973f61854

+ 1 - 4
src/lights/AmbientLightProbe.js

@@ -2,10 +2,7 @@
  * @author WestLangley / http://github.com/WestLangley
  */
 
-import { _Math } from '../math/Math.js';
-import { Vector3 } from '../math/Vector3.js';
 import { Color } from '../math/Color.js';
-import { SphericalHarmonics3 } from '../math/SphericalHarmonics3.js';
 import { LightProbe } from './LightProbe.js';
 
 function AmbientLightProbe( color, intensity ) {
@@ -15,7 +12,7 @@ function AmbientLightProbe( color, intensity ) {
 	var color1 = new Color().set( color );
 
 	// without extra factor of PI in the shader, would be 2 / Math.sqrt( Math.PI );
-	this.sh.coefficients[ 0 ].set( color1.r, color1.g, color1.b ).multiplyScalar(  2 * Math.sqrt( Math.PI ) );
+	this.sh.coefficients[ 0 ].set( color1.r, color1.g, color1.b ).multiplyScalar( 2 * Math.sqrt( Math.PI ) );
 
 }
 

+ 0 - 3
src/lights/HemisphereLightProbe.js

@@ -2,10 +2,7 @@
  * @author WestLangley / http://github.com/WestLangley
  */
 
-import { _Math } from '../math/Math.js';
-import { Vector3 } from '../math/Vector3.js';
 import { Color } from '../math/Color.js';
-import { SphericalHarmonics3 } from '../math/SphericalHarmonics3.js';
 import { LightProbe } from './LightProbe.js';
 
 function HemisphereLightProbe( skyColor, groundColor, intensity ) {

+ 0 - 3
src/lights/LightProbe.js

@@ -4,9 +4,6 @@
  * A LightProbe is a source of indirect-diffuse light
  */
 
-import { _Math } from '../math/Math.js';
-import { Vector3 } from '../math/Vector3.js';
-import { Color } from '../math/Color.js';
 import { SphericalHarmonics3 } from '../math/SphericalHarmonics3.js';
 import { Light } from './Light.js';