Explorar el Código

Merge pull request #10962 from fernandojsg/clockdelta

First call to Clock.getDelta() should returns 0
Mr.doob hace 8 años
padre
commit
264808e513
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;
 
 		}