Browse Source

Removed override `this.receiveShadow = undefined`

inherited value is `false` (from its based class, Object3D)
ycw 4 years ago
parent
commit
737bf8c072
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/lights/Light.js

+ 0 - 2
src/lights/Light.js

@@ -10,8 +10,6 @@ function Light( color, intensity ) {
 	this.color = new Color( color );
 	this.color = new Color( color );
 	this.intensity = intensity !== undefined ? intensity : 1;
 	this.intensity = intensity !== undefined ? intensity : 1;
 
 
-	this.receiveShadow = undefined;
-
 }
 }
 
 
 Light.prototype = Object.assign( Object.create( Object3D.prototype ), {
 Light.prototype = Object.assign( Object.create( Object3D.prototype ), {