|
@@ -9,7 +9,6 @@ THREE.InterleavedBuffer = function ( array, stride, dynamic ) {
|
|
this.array = array;
|
|
this.array = array;
|
|
this.stride = stride;
|
|
this.stride = stride;
|
|
|
|
|
|
- this._needsUpdate = false;
|
|
|
|
this.updateCounter = 0;
|
|
this.updateCounter = 0;
|
|
|
|
|
|
this.dynamic = dynamic || false;
|
|
this.dynamic = dynamic || false;
|
|
@@ -33,18 +32,10 @@ THREE.InterleavedBuffer.prototype = {
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
- get needsUpdate() {
|
|
|
|
-
|
|
|
|
- return this._needsUpdate;
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
set needsUpdate( value ) {
|
|
set needsUpdate( value ) {
|
|
|
|
|
|
if ( value === true ) this.updateCounter ++;
|
|
if ( value === true ) this.updateCounter ++;
|
|
|
|
|
|
- this._needsUpdate = value;
|
|
|
|
-
|
|
|
|
},
|
|
},
|
|
|
|
|
|
copyAt: function ( index1, attribute, index2 ) {
|
|
copyAt: function ( index1, attribute, index2 ) {
|