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

InterleaveBuffer/InterleaveBufferAttribute: Removed no longer used length calls.

上级 3ac4adef
......@@ -25,12 +25,6 @@ InterleavedBuffer.prototype = {
isInterleavedBuffer: true,
get length () {
return this.array.length;
},
set needsUpdate( value ) {
if ( value === true ) this.version ++;
......
......@@ -23,13 +23,6 @@ InterleavedBufferAttribute.prototype = {
isInterleavedBufferAttribute: true,
get length() {
console.warn( 'THREE.BufferAttribute: .length has been deprecated. Please use .count.' );
return this.array.length;
},
get count() {
return this.data.count;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册