2
0
Эх сурвалжийг харах

InterleaveBuffer/InterleaveBufferAttribute: Removed no longer used length calls.

Mr.doob 9 жил өмнө
parent
commit
ab8c387631

+ 0 - 6
src/core/InterleavedBuffer.js

@@ -25,12 +25,6 @@ InterleavedBuffer.prototype = {
 
 	isInterleavedBuffer: true,
 
-	get length () {
-
-		return this.array.length;
-
-	},
-
 	set needsUpdate( value ) {
 
 		if ( value === true ) this.version ++;

+ 0 - 7
src/core/InterleavedBufferAttribute.js

@@ -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;