World no longer has an explicit size

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-23 16:27:59 -04:00
parent a956f9b0c1
commit 4980797afc
5 changed files with 24 additions and 39 deletions
+4 -11
View File
@@ -87,25 +87,18 @@ namespace box2d
public:
/**
* 30 pixels in one meter by default.
* Creates a new world.
**/
static const int DEFAULT_METER = 30;
World();
/**
* Creates a new world with the given bounding box.
* @param aabb The bounding box.
**/
World(b2AABB aabb);
/**
* Creates a new world with the given bounding box, gravity
* Creates a new world with the given gravity
* and whether or not the bodies should sleep when appropriate.
* @param aabb The bounding box.
* @param gravity The gravity of the World.
* @param sleep True if the bodies should be able to sleep,
* false otherwise.
**/
World(b2AABB aabb, b2Vec2 gravity, bool sleep, int meter = DEFAULT_METER);
World(b2Vec2 gravity, bool sleep);
virtual ~World();