mirror of
https://github.com/liabru/matter-js.git
synced 2025-01-15 16:38:43 -05:00
increase iterations on Example.stress3
This commit is contained in:
parent
b116f64225
commit
5c59bef62e
1 changed files with 6 additions and 2 deletions
|
@ -12,8 +12,12 @@ Example.stress3 = function() {
|
||||||
Bodies = Matter.Bodies;
|
Bodies = Matter.Bodies;
|
||||||
|
|
||||||
// create engine
|
// create engine
|
||||||
var engine = Engine.create(),
|
var engine = Engine.create({
|
||||||
world = engine.world;
|
positionIterations: 10,
|
||||||
|
velocityIterations: 10
|
||||||
|
});
|
||||||
|
|
||||||
|
var world = engine.world;
|
||||||
|
|
||||||
// create renderer
|
// create renderer
|
||||||
var render = Render.create({
|
var render = Render.create({
|
||||||
|
|
Loading…
Reference in a new issue