소스 검색

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 ) {