提交 13ae7a6d 编写于 作者: 0 06wj

improved Fog.clone & FogExp2.clone

上级 3aff5401
......@@ -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.
先完成此消息的编辑!
想要评论请 注册