提交 dc87b910 编写于 作者: T Temdog007

Fix code style

上级 a11243ef
...@@ -35,7 +35,8 @@ InstancedBufferGeometry.prototype = Object.assign( Object.create( BufferGeometry ...@@ -35,7 +35,8 @@ InstancedBufferGeometry.prototype = Object.assign( Object.create( BufferGeometry
}, },
toJSON: function(){ toJSON: function () {
var data = BufferGeometry.prototype.toJSON.call( this ); var data = BufferGeometry.prototype.toJSON.call( this );
data.maxInstancedCount = this.maxInstancedCount; data.maxInstancedCount = this.maxInstancedCount;
...@@ -43,6 +44,7 @@ InstancedBufferGeometry.prototype = Object.assign( Object.create( BufferGeometry ...@@ -43,6 +44,7 @@ InstancedBufferGeometry.prototype = Object.assign( Object.create( BufferGeometry
data.isInstancedBufferGeometry = true; data.isInstancedBufferGeometry = true;
return data; return data;
} }
} ); } );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册