Pārlūkot izejas kodu

InterleavedBuffer.setArray method chaning

Takahiro 7 gadi atpakaļ
vecāks
revīzija
efdc1e6529
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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 ) {