Browse Source

Merge pull request #10962 from fernandojsg/clockdelta

First call to Clock.getDelta() should returns 0
Mr.doob 8 years ago
parent
commit
264808e513
1 changed files with 1 additions and 0 deletions
  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;
 
 		}