mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-25 13:39:06 -05:00
delta is now sampled over 1s, improves stability
This commit is contained in:
parent
15acf3c9b8
commit
1b2d58cebf
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ var Engine = {};
|
|||
(function() {
|
||||
|
||||
var _fps = 60,
|
||||
_deltaSampleSize = 8,
|
||||
_deltaSampleSize = _fps,
|
||||
_delta = 1000 / _fps;
|
||||
|
||||
var _requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame
|
||||
|
|
Loading…
Reference in a new issue