提交 ba13c984 编写于 作者: M Mr.doob

AmbientLight/HemisphereLight: Set castShadow to undefined.

上级 4e9abd1f
......@@ -8,6 +8,8 @@ THREE.AmbientLight = function ( color ) {
this.type = 'AmbientLight';
this.castShadow = undefined;
};
THREE.AmbientLight.prototype = Object.create( THREE.Light.prototype );
......
......@@ -8,6 +8,8 @@ THREE.HemisphereLight = function ( skyColor, groundColor, intensity ) {
this.type = 'HemisphereLight';
this.castShadow = undefined;
this.position.set( 0, 1, 0 );
this.updateMatrix();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册