0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-27 13:59:01 -05:00

fixed Body.rotate

This commit is contained in:
liabru 2014-07-03 18:31:47 +01:00
parent 89140aedf0
commit c5212e1ba4

View file

@ -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);
};
/**