mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-17 12:42:17 -05:00
fixed: changed correction to now be optional in Engine.update (defaults to 1)
This commit is contained in:
parent
4e14169ac6
commit
2fad14336c
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ var Engine = {};
|
|||
* @return engine
|
||||
*/
|
||||
Engine.update = function(engine, delta, correction) {
|
||||
correction = correction || 1;
|
||||
correction = (typeof correction !== 'undefined') ? correction : 1;
|
||||
|
||||
var world = engine.world,
|
||||
timing = engine.timing,
|
||||
|
|
Loading…
Reference in a new issue