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:
Alex Szpakowski
2019-01-04 21:36:05 -04:00
parent 0752f27bdf
commit 3ad16a70da
20 changed files with 103 additions and 215 deletions
+2 -5
View File
@@ -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();
/**