Skip to content

Commit

Permalink
fixed Body.rotate
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Jul 3, 2014
1 parent 89140ae commit c5212e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/body/Body.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ var Body = {};
* @param {number} rotation
*/
Body.rotate = function(body, rotation) {
Body.setAngle(body, body.angle + angle);
Body.setAngle(body, body.angle + rotation);
};

/**
Expand Down

0 comments on commit c5212e1

Please sign in to comment.