Skip to content

Commit 37a86cd

Browse files
committed
updated edge build
1 parent 3f9364c commit 37a86cd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

build/matter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ var Axes = require('../geometry/Axes');
612612
body.force.x += force.x;
613613
body.force.y += force.y;
614614
var offset = { x: position.x - body.position.x, y: position.y - body.position.y };
615-
body.torque += (offset.x * force.y - offset.y * force.x) * body.inverseInertia;
615+
body.torque += offset.x * force.y - offset.y * force.x;
616616
};
617617

618618
/**

build/matter.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)