未验证 提交 eb10e6c6 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #13924 from 06wj/patch0

Improved Fog.clone & FogExp2.clone
......@@ -20,7 +20,7 @@ Fog.prototype.isFog = true;
Fog.prototype.clone = function () {
return new Fog( this.color.getHex(), this.near, this.far );
return new Fog( this.color, this.near, this.far );
};
......
......@@ -18,7 +18,7 @@ FogExp2.prototype.isFogExp2 = true;
FogExp2.prototype.clone = function () {
return new FogExp2( this.color.getHex(), this.density );
return new FogExp2( this.color, this.density );
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册