Commit Graph

22 Commits

Author SHA1 Message Date
Bill Meltsner 6a0c5b485b Memoize Contacts, and add List-fetching functions to World (they return arrays)
--HG--
branch : box2d-update
2011-09-24 16:46:07 -04:00
Bill Meltsner f852c9bac2 Add World:rayCast
--HG--
branch : box2d-update
2011-09-24 16:26:41 -04:00
Bill Meltsner e2b832015b Add World:queryBoundingBox
--HG--
branch : box2d-update
2011-09-24 16:15:09 -04:00
Bill Meltsner 055238659b Change Contact callbacks to pass the actual Fixtures instead of just the userdata
--HG--
branch : box2d-update
2011-09-24 13:51:11 -04:00
Bill Meltsner 7e039dd1ef Add ContactFilter callback to World
--HG--
branch : box2d-update
2011-09-24 13:45:24 -04:00
Bill Meltsner c705063597 First attempt at implementing Memoization for certain Box2D objects
--HG--
branch : box2d-update
2011-09-24 12:20:59 -04:00
Bill Meltsner 542ae2f736 Actually create groundBody when creating a World with gravity (i.e. all the time)
--HG--
branch : box2d-update
2011-09-24 01:16:34 -04:00
Bill Meltsner 367dbc2ecc Update Body API.
--HG--
branch : box2d-update
2011-09-23 22:21:14 -04:00
Bill Meltsner 0678eac453 A first attempt at overhauling collision. New everything.
--HG--
branch : box2d-update
2011-09-23 21:25:41 -04:00
Bill Meltsner 95f6047417 Update World contact callback definitions, get ready for collision overhaul
--HG--
branch : box2d-update
2011-09-23 17:01:53 -04:00
Bill Meltsner 4980797afc World no longer has an explicit size
--HG--
branch : box2d-update
2011-09-23 16:27:59 -04:00
Bill Meltsner e69cafe868 Switched get/setMeter from being a World method to a love.physics function
--HG--
branch : box2d-update
2011-09-15 16:13:54 -04:00
Bill Meltsner b4fae893fd updating the Joints
--HG--
branch : box2d-update
2011-03-13 13:16:02 -04:00
vrld e77b94f112 Make the compiler shut up about initialization order. 2011-03-10 13:35:18 +01:00
vrld 1c7e34715b Add NULL initializers for pointers.
Constructing invalid shapes, e.g. a rectangle with width 0, could result
in a b2Assert to fail. In turn, Shape::~Shape tried to destroy a the shape
with an uninitialized pointer, yielding a segfault. Add NULL-initializers
and checks for NULL to prevent this.
2011-01-25 13:24:39 +01:00
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
Bart van Strien c0789b1da3 Remove references to old physics callbacks, fixes #139 2010-12-18 12:38:29 +01:00
Bart van Strien 908df65bdb Added meter parameter to newWorld 2010-08-01 14:42:54 +02:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
rude d4a97d49f3 Added all callbacks to World. 2009-08-15 14:29:47 +02:00
rude ba1a75e547 Added many comments, and changed function names for wrapper functions. 2009-08-09 21:08:55 +02:00
rude dcb3dfd83d Initial Mercurial commit. 2009-07-26 15:46:49 +02:00