From c5212e1ba4649b17bdbe2eb55c02fc710fb2a86c Mon Sep 17 00:00:00 2001 From: liabru Date: Thu, 3 Jul 2014 18:31:47 +0100 Subject: [PATCH] fixed Body.rotate --- src/body/Body.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/body/Body.js b/src/body/Body.js index 8d32d03..0917ba9 100644 --- a/src/body/Body.js +++ b/src/body/Body.js @@ -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); }; /**