Skip to content

Commit

Permalink
Merge pull request #13463 from aardgoose/remove-uuid-2
Browse files Browse the repository at this point in the history
remove uuid from BufferAttribute etc.
  • Loading branch information
mrdoob authored Feb 28, 2018
2 parents 466bdc9 + 366450a commit 8e41c2e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/core/BufferAttribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Vector4 } from '../math/Vector4.js';
import { Vector3 } from '../math/Vector3.js';
import { Vector2 } from '../math/Vector2.js';
import { Color } from '../math/Color.js';
import { _Math } from '../math/Math.js';

/**
* @author mrdoob / http://mrdoob.com/
Expand All @@ -16,7 +15,6 @@ function BufferAttribute( array, itemSize, normalized ) {

}

this.uuid = _Math.generateUUID();
this.name = '';

this.array = array;
Expand Down
3 changes: 0 additions & 3 deletions src/core/InterleavedBuffer.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import { _Math } from '../math/Math.js';

/**
* @author benaadams / https://twitter.com/ben_a_adams
*/

function InterleavedBuffer( array, stride ) {

this.uuid = _Math.generateUUID();

this.array = array;
this.stride = stride;
this.count = array !== undefined ? array.length / stride : 0;
Expand Down
3 changes: 0 additions & 3 deletions src/core/InterleavedBufferAttribute.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import { _Math } from '../math/Math.js';

/**
* @author benaadams / https://twitter.com/ben_a_adams
*/

function InterleavedBufferAttribute( interleavedBuffer, itemSize, offset, normalized ) {

this.uuid = _Math.generateUUID();

this.data = interleavedBuffer;
this.itemSize = itemSize;
this.offset = offset;
Expand Down

0 comments on commit 8e41c2e

Please sign in to comment.