Add ChainShape

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-15 17:17:28 -04:00
parent e69cafe868
commit a565668183
9 changed files with 429 additions and 1 deletions
+7
View File
@@ -30,6 +30,7 @@
#include "CircleShape.h"
#include "PolygonShape.h"
#include "EdgeShape.h"
#include "ChainShape.h"
#include "Joint.h"
#include "MouseJoint.h"
#include "DistanceJoint.h"
@@ -155,6 +156,12 @@ namespace box2d
* @param ... A variable number of vertices.
**/
int newPolygonShape(lua_State * L);
/**
* Creates a new ChainShape.
* @param ... A variable number of vertices.
**/
int newChainShape(lua_State * L);
/**
* Creates a new DistanceJoint connecting body1 with body2.