|
@@ -1169,6 +1169,7 @@ Object.defineProperties( BufferAttribute.prototype, {
|
|
|
} );
|
|
|
|
|
|
Object.assign( BufferAttribute.prototype, {
|
|
|
+
|
|
|
copyIndicesArray: function ( /* indices */ ) {
|
|
|
|
|
|
console.error( 'THREE.BufferAttribute: .copyIndicesArray() has been removed.' );
|
|
@@ -1182,12 +1183,15 @@ Object.assign( BufferAttribute.prototype, {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ console.warn( 'THREE.BufferAttribute: .setArray has been deprecated. Use BufferGeometry .setAttribute to replace/resize attribute buffers' );
|
|
|
+
|
|
|
this.count = array !== undefined ? array.length / this.itemSize : 0;
|
|
|
this.array = array;
|
|
|
|
|
|
return this;
|
|
|
|
|
|
- },
|
|
|
+ }
|
|
|
+
|
|
|
} );
|
|
|
|
|
|
Object.assign( BufferGeometry.prototype, {
|
|
@@ -1259,14 +1263,14 @@ Object.assign( InterleavedBuffer.prototype, {
|
|
|
|
|
|
}
|
|
|
|
|
|
- console.warn( 'THREE.InterleavedBuffer: .setArray has been deprecatted. Use BufferGeometry.setAttribute to replace/resize attribute buffers' );
|
|
|
+ console.warn( 'THREE.InterleavedBuffer: .setArray has been deprecated. Use BufferGeometry .setAttribute to replace/resize attribute buffers' );
|
|
|
|
|
|
this.count = array !== undefined ? array.length / this.stride : 0;
|
|
|
this.array = array;
|
|
|
|
|
|
return this;
|
|
|
|
|
|
- },
|
|
|
+ }
|
|
|
|
|
|
} );
|
|
|
|