Removed newWorld(w, h). Added newWorld(x1, y1, x2, y2).

This commit is contained in:
rude
2010-11-25 16:49:03 +01:00
parent 6aa8399aa8
commit d884cb8a82
4 changed files with 16 additions and 70 deletions
-19
View File
@@ -63,25 +63,6 @@ namespace box2d
**/
World * newWorld(float lx, float ly, float ux, float uy, float gx, float gy, bool sleep, int meter);
/**
* Creates a new World.
* @param lx Lower bound on the x-axis.
* @param ly Lower bound on the y-axis.
* @param ux Upper bound on the x-axis.
* @param uy Upper bound on the y-axis.
* @param gx Gravity along x-axis.
* @param gy Gravity along y-axis.
* @param sleep Whether the World allows sleep.
**/
World * newWorld(float lx, float ly, float ux, float uy, float gx, float gy, bool sleep);
/**
* Creates a new World with with size (w,h).
* @param w The width of the world.
* @param h The height of the world.
**/
World * newWorld(float w, float h);
/**
* Creates a new Body at the specified position.
* @param world The world to create the Body in.