mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Update Body API.
--HG-- branch : box2d-update
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user