Skip to content

Commit

Permalink
updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Dec 12, 2021
1 parent e366d0e commit c80ed5c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 106 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
<li><a href="https://brm.io/matter-js/demo/#airFriction">Air Friction</a></li>
<li><a href="https://brm.io/matter-js/demo/#staticFriction">Static Friction</a></li>
<li><a href="https://brm.io/matter-js/demo/#sleeping">Sleeping</a></li>
<li><a href="https://brm.io/matter-js/demo/#broadphase">Grid Broadphase</a></li>
<li><a href="https://brm.io/matter-js/demo/#beachBalls">Beach Balls</a></li>
<li><a href="https://brm.io/matter-js/demo/#stress">Stress 1</a></li>
<li><a href="https://brm.io/matter-js/demo/#stress2">Stress 2</a></li>
Expand Down
103 changes: 0 additions & 103 deletions examples/broadphase.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module.exports = {
avalanche: require('./avalanche.js'),
ballPool: require('./ballPool.js'),
bridge: require('./bridge.js'),
broadphase: require('./broadphase.js'),
car: require('./car.js'),
catapult: require('./catapult.js'),
chains: require('./chains.js'),
Expand Down
2 changes: 1 addition & 1 deletion examples/raycasting.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Example.raycasting = function() {
Bodies.rectangle(0, 300, 50, 600, { isStatic: true })
]);

var collisions,
var collisions = [],
startPoint = { x: 400, y: 100 };

Events.on(engine, 'afterUpdate', function() {
Expand Down

0 comments on commit c80ed5c

Please sign in to comment.