Implement Fixture class properly.

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-23 18:01:40 -04:00
parent 95f6047417
commit 71abae06c7
11 changed files with 745 additions and 62 deletions
+8
View File
@@ -26,6 +26,7 @@
#include "World.h"
#include "Contact.h"
#include "Body.h"
#include "Fixture.h"
#include "Shape.h"
#include "CircleShape.h"
#include "PolygonShape.h"
@@ -98,6 +99,13 @@ 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).