Просмотр исходного кода

Removed override `this.receiveShadow = undefined`

inherited value is `false` (from its based class, Object3D)
ycw 4 лет назад
Родитель
Сommit
737bf8c072
1 измененных файлов с 0 добавлено и 2 удалено
  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 ), {