mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-30 10:20:52 -05:00
updated edge build
This commit is contained in:
parent
eccf0a7237
commit
f2635ab587
2 changed files with 10 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* matter.js edge-master 2015-08-17
|
* matter.js edge-master 2015-09-17
|
||||||
* http://brm.io/matter-js/
|
* http://brm.io/matter-js/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
*/
|
*/
|
||||||
|
@ -7579,13 +7579,14 @@ var Grid = require('../collision/Grid');
|
||||||
var c = context,
|
var c = context,
|
||||||
world = engine.world,
|
world = engine.world,
|
||||||
render = engine.render,
|
render = engine.render,
|
||||||
|
metrics = engine.metrics,
|
||||||
options = render.options,
|
options = render.options,
|
||||||
bodies = Composite.allBodies(world),
|
bodies = Composite.allBodies(world),
|
||||||
space = " ";
|
space = " ";
|
||||||
|
|
||||||
if (engine.timing.timestamp - (render.debugTimestamp || 0) >= 500) {
|
if (engine.timing.timestamp - (render.debugTimestamp || 0) >= 500) {
|
||||||
var text = "";
|
var text = "";
|
||||||
text += "fps: " + Math.round(engine.timing.fps) + space;
|
text += "fps: " + Math.round(metrics.timing.fps) + space;
|
||||||
|
|
||||||
render.debugString = text;
|
render.debugString = text;
|
||||||
render.debugTimestamp = engine.timing.timestamp;
|
render.debugTimestamp = engine.timing.timestamp;
|
||||||
|
@ -8565,6 +8566,9 @@ var RenderPixi = {};
|
||||||
|
|
||||||
module.exports = RenderPixi;
|
module.exports = RenderPixi;
|
||||||
|
|
||||||
|
var Composite = require('../body/Composite');
|
||||||
|
var Common = require('../core/Common');
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -9002,5 +9006,5 @@ module.exports = RenderPixi;
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
},{}]},{},[28])(28)
|
},{"../body/Composite":2,"../core/Common":14}]},{},[28])(28)
|
||||||
});
|
});
|
6
build/matter.min.js
vendored
6
build/matter.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue