mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Update World contact callback definitions, get ready for collision overhaul
--HG-- branch : box2d-update
This commit is contained in:
@@ -28,8 +28,8 @@ namespace physics
|
||||
{
|
||||
namespace box2d
|
||||
{
|
||||
Contact::Contact(World * world, const b2ContactPoint * point)
|
||||
: point(*point), world(world)
|
||||
Contact::Contact(World * world, b2Contact * contact)
|
||||
: contact(contact), world(world)
|
||||
{
|
||||
world->retain();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user