Add second body anchor point to FrictionJoint/WeldJoint constructors

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-10-02 10:06:31 -04:00
parent 735c52b228
commit f38655a934
7 changed files with 50 additions and 24 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ namespace box2d
/**
* Creates a new WeldJoint connecting body1 and body2.
**/
WeldJoint(Body * body1, Body * body2, float x, float y, bool collideConnected);
WeldJoint(Body * body1, Body * body2, float xA, float yA, float xB, float yB, bool collideConnected);
virtual ~WeldJoint();