mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Callbacks now actually fire when they're supposed to, instead of post-step (means PreSolve collision filtering works)
--HG-- branch : box2d-update
This commit is contained in:
@@ -67,15 +67,9 @@ namespace box2d
|
||||
{
|
||||
public:
|
||||
Reference * ref;
|
||||
std::vector<Contact *> contacts;
|
||||
std::vector<const b2ContactImpulse *> impulses;
|
||||
b2Manifold* oldManifold;
|
||||
b2ContactImpulse* impulse;
|
||||
ContactCallback();
|
||||
~ContactCallback();
|
||||
void add(b2Contact* contact);
|
||||
void add(b2Contact* contact, const b2ContactImpulse* impulse);
|
||||
void process();
|
||||
void process(b2Contact* contact, const b2ContactImpulse* impulse = NULL);
|
||||
};
|
||||
|
||||
class ContactFilter
|
||||
|
||||
Reference in New Issue
Block a user