# Conflicts:
#	source/bin/framework.min.js
This commit is contained in:
yhh
2021-05-07 16:24:25 +08:00
9 changed files with 1125 additions and 59 deletions

View File

@@ -23,7 +23,7 @@ module es {
if (this._lastTime == -1)
this._lastTime = currentTime;
let dt = currentTime - this._lastTime;
let dt = (currentTime - this._lastTime) / 1000;
if (dt > this.maxDeltaTime)
dt = this.maxDeltaTime;
this.totalTime += dt;