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
+3 -3
View File
@@ -49,8 +49,8 @@ namespace box2d
private:
// The Box2D contact point.
b2ContactPoint point;
// The Box2D contact.
b2Contact* contact;
// The parent world. Needed for scaling.
World * world;
@@ -63,7 +63,7 @@ namespace box2d
* data pointed to.
* @param point Pointer to the Box2D contact.
**/
Contact(World * world, const b2ContactPoint * point);
Contact(World * world, const b2Contact * contact);
virtual ~Contact();