Updated to Box2D 2.2, added new joints, some other updates to match the API changes (still plenty more to go though)

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-03 15:39:32 -04:00
parent b3434997bf
commit 915e3e9d86
126 changed files with 8581 additions and 3772 deletions
+8
View File
@@ -36,6 +36,7 @@
#include "RevoluteJoint.h"
#include "PulleyJoint.h"
#include "GearJoint.h"
#include "FrictionJoint.h"
namespace love
{
@@ -200,6 +201,13 @@ namespace box2d
**/
GearJoint * newGearJoint(Joint * joint1, Joint * joint2, float ratio);
/**
* Creates a new FrictionJoint connecting body1 with body2.
* @param x Anchor along the x-axis. (World coordinates)
* @param y Anchor along the y-axis. (World coordinates)
**/
FrictionJoint * newFrictionJoint(Body * body1, Body * body2, float x, float y);
}; // Physics