Browse Source

set AmbientLight.castshadow to `false`

set to `false` instead of `undefined`
ycw 5 năm trước cách đây
mục cha
commit
e9297a470c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/lights/AmbientLight.js

+ 1 - 1
src/lights/AmbientLight.js

@@ -6,7 +6,7 @@ function AmbientLight( color, intensity ) {
 
 
 	this.type = 'AmbientLight';
 	this.type = 'AmbientLight';
 
 
-	this.castShadow = undefined;
+	this.castShadow = false;
 
 
 }
 }
 
 

粤ICP备19079148号