mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
love.physics: move internal box2d->love object map to World instances, and clean up some physics object code. Resolves issue #1465.
This commit is contained in:
@@ -38,6 +38,8 @@ namespace physics
|
||||
namespace box2d
|
||||
{
|
||||
|
||||
class World;
|
||||
|
||||
/**
|
||||
* This struct is stored in a void pointer
|
||||
* in the Box2D Fixture class. For now, all we
|
||||
@@ -68,11 +70,6 @@ public:
|
||||
**/
|
||||
Fixture(Body *body, Shape *shape, float density);
|
||||
|
||||
/**
|
||||
* Creates a Fixture.
|
||||
**/
|
||||
Fixture(b2Fixture *f);
|
||||
|
||||
virtual ~Fixture();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user