浏览代码

Remove the interleavedBufferAttribute and copy, clone functions

Garrett Johnson 6 年之前
父节点
当前提交
b93c7c737d
共有 1 个文件被更改,包括 0 次插入17 次删除
  1. 0 17
      src/core/InterleavedBufferAttribute.js

+ 0 - 17
src/core/InterleavedBufferAttribute.js

@@ -41,23 +41,6 @@ Object.assign( InterleavedBufferAttribute.prototype, {
 
 
 	isInterleavedBufferAttribute: true,
 	isInterleavedBufferAttribute: true,
 
 
-	copy: function ( source ) {
-
-		this.data = source.data;
-		this.itemSize = source.itemSize;
-		this.offset = source.offset;
-		this.normalized = source.normalized;
-
-		return this;
-
-	},
-
-	clone: function () {
-
-		return new this.constructor( this.data, this.itemSize, this.offset, this.normalized ).copy( this );
-
-	},
-
 	setX: function ( index, x ) {
 	setX: function ( index, x ) {
 
 
 		this.data.array[ index * this.data.stride + this.offset ] = x;
 		this.data.array[ index * this.data.stride + this.offset ] = x;