Skip to content

Commit ab8c387

Browse files
committed
InterleaveBuffer/InterleaveBufferAttribute: Removed no longer used length calls.
1 parent 3ac4ade commit ab8c387

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/core/InterleavedBuffer.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ InterleavedBuffer.prototype = {
2525

2626
isInterleavedBuffer: true,
2727

28-
get length () {
29-
30-
return this.array.length;
31-
32-
},
33-
3428
set needsUpdate( value ) {
3529

3630
if ( value === true ) this.version ++;

src/core/InterleavedBufferAttribute.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ InterleavedBufferAttribute.prototype = {
2323

2424
isInterleavedBufferAttribute: true,
2525

26-
get length() {
27-
28-
console.warn( 'THREE.BufferAttribute: .length has been deprecated. Please use .count.' );
29-
return this.array.length;
30-
31-
},
32-
3326
get count() {
3427

3528
return this.data.count;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy