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

Merge pull request #7603 from simonThiele/dev

copy function should return the result to work
......@@ -52,6 +52,8 @@ THREE.InterleavedBuffer.prototype = {
this.stride = source.stride;
this.dynamic = source.dynamic;
return this;
},
copyAt: function ( index1, attribute, index2 ) {
......
......@@ -26,7 +26,7 @@ THREE.InterleavedBufferAttribute.prototype = {
get count() {
return this.data.array.length / this.data.stride;
return this.data.count;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册