소스 검색

Merge pull request #10962 from fernandojsg/clockdelta

First call to Clock.getDelta() should returns 0
Mr.doob 9 년 전
부모
커밋
264808e513
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/core/Clock.js

+ 1 - 0
src/core/Clock.js

@@ -47,6 +47,7 @@ Object.assign( Clock.prototype, {
 		if ( this.autoStart && ! this.running ) {
 
 			this.start();
+			return 0;
 
 		}
 

粤ICP备19079148号