Browse Source

InterleavedBuffer.setArray method chaning

Takahiro 7 years ago
parent
commit
efdc1e6529
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/core/InterleavedBuffer.js

+ 2 - 0
src/core/InterleavedBuffer.js

@@ -43,6 +43,8 @@ Object.assign( InterleavedBuffer.prototype, {
 		this.count = array !== undefined ? array.length / this.stride : 0;
 		this.array = array;
 
+		return this;
+
 	},
 
 	setDynamic: function ( value ) {