mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
cleanup debug canvas #36
This commit is contained in:
parent
8dacc83f7a
commit
f4c7d9edeb
4 changed files with 21 additions and 60 deletions
|
|
@ -51,10 +51,7 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, Nc, reque
|
|||
|
||||
Parent.prototype.update.call(this);
|
||||
|
||||
DomController.statsBegin();
|
||||
|
||||
this.animationRequestId = requestAnimFrame(this.update.bind(this));
|
||||
|
||||
this.physicsEngine.update();
|
||||
|
||||
if(this.me) {
|
||||
|
|
@ -67,8 +64,7 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, Nc, reque
|
|||
}
|
||||
|
||||
this.view.render();
|
||||
|
||||
DomController.statsEnd();
|
||||
DomController.fpsStep();
|
||||
}
|
||||
|
||||
GameController.prototype.mePositionStateUpdate = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue