Update Body API.

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-23 22:21:14 -04:00
parent 0678eac453
commit 367dbc2ecc
14 changed files with 416 additions and 195 deletions
-17
View File
@@ -76,16 +76,6 @@ namespace box2d
**/
World * newWorld(float gx, float gy, bool sleep, int meter);
/**
* Creates a new Body at the specified position.
* @param world The world to create the Body in.
* @param x The position along the x-axis.
* @param x The position along the y-axis.
* @param m The mass.
* @param i The rotational inertia.
**/
Body * newBody(World * world, float x, float y, float m, float i);
/**
* Creates a new Body at the specified position.
* @param world The world to create the Body in.
@@ -99,13 +89,6 @@ namespace box2d
* @param world The world to create the Body in.
**/
Body * newBody(World * world);
/**
* Creates a new Fixture.
* @param body The body to attach the Fixture to.
* @param shape The shape to attach to the Fixture.
**/
Fixture * newFixture(Body * body, Shape * shape);
/**
* Creates a new CircleShape at (0, 0).