Update World contact callback definitions, get ready for collision overhaul

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-23 17:01:53 -04:00
parent 4980797afc
commit 95f6047417
6 changed files with 65 additions and 62 deletions
+2 -2
View File
@@ -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();
}