Add second body anchor point as a parameter to love.physics.newPrismaticJoint, and fix some scaling issues with PrismaticJoint

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-27 15:48:29 -04:00
parent 356b3c880d
commit 5244463109
5 changed files with 31 additions and 16 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ namespace box2d
/**
* Creates a new PrismaticJoint connecting body1 and body2.
**/
PrismaticJoint(Body * body1, Body * body2, float x, float y, float ax, float ay, bool collideConnected);
PrismaticJoint(Body * body1, Body * body2, float xA, float yA, float xB, float yB, float ax, float ay, bool collideConnected);
virtual ~PrismaticJoint();