Browse Source

Removed override `this.receiveShadow = undefined`

inherited value is `false` (from its based class, Object3D)
ycw 4 năm trước cách đây
mục cha
commit
737bf8c072
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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.intensity = intensity !== undefined ? intensity : 1;
 
-	this.receiveShadow = undefined;
-
 }
 
 Light.prototype = Object.assign( Object.create( Object3D.prototype ), {