mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-27 13:59:01 -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;
|
||||
|
||||
// create engine
|
||||
var engine = Engine.create(),
|
||||
world = engine.world;
|
||||
var engine = Engine.create({
|
||||
positionIterations: 10,
|
||||
velocityIterations: 10
|
||||
});
|
||||
|
||||
var world = engine.world;
|
||||
|
||||
// create renderer
|
||||
var render = Render.create({
|
||||
|
|
Loading…
Reference in a new issue