Переглянути джерело

InterleavedBuffer.setArray method chaning

Takahiro 7 роки тому
батько
коміт
efdc1e6529
1 змінених файлів з 2 додано та 0 видалено
  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 ) {