0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-03-14 00:38:41 -04:00

Update ballPool.js

This commit is contained in:
Jansen121212 2019-07-17 15:03:02 +08:00 committed by GitHub
parent 2ec247b7af
commit 55c895711a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,9 +48,9 @@ Example.ballPool = function() {
World.add(world, [
stack,
Bodies.polygon(200, 460, 3, 60),
Bodies.polygon(400, 460, 5, 60),
Bodies.rectangle(600, 460, 80, 80)
Bodies.polygon(0, 77, 90, 1),
Bodies.polygon(0, 77, 90, 1),
Bodies.rectangle(0, 77, 90, 1)
]);
// add mouse control
@ -97,4 +97,4 @@ Example.ballPool = function() {
Matter.Runner.stop(runner);
}
};
};
};