Skip to content

Commit

Permalink
fixed Examples.compound constraint offset
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed May 3, 2017
1 parent 9d2f0ff commit e6babf0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/compound.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Example.compound = function() {
width: Math.min(document.documentElement.clientWidth, 800),
height: Math.min(document.documentElement.clientHeight, 600),
showAxes: true,
showPositions: true,
showConvexHulls: true
}
});
Expand Down Expand Up @@ -61,7 +60,7 @@ Example.compound = function() {
var constraint = Constraint.create({
pointA: { x: 400, y: 100 },
bodyB: compoundBodyB,
pointB: { x: 0, y: -50 }
pointB: { x: 0, y: 0 }
});

World.add(world, [
Expand Down

0 comments on commit e6babf0

Please sign in to comment.