rude
81c38e22d0
Applied the new style guidelines.
...
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Aidan Gauland
27b62b5c9c
Removed scaling of unit vectors.
2012-04-17 20:54:12 +12:00
Bill Meltsner
20f4e567b3
Fix Fixture:getShape(), for real this time.
...
All the Memoizer stuff was pointless: when you create a Fixture, it clones the b2Shape, so there was never going to be a memoized Shape to find. And cloning the Shape is incorrect as well, since you should able to modify the Shape retrieved through getShape and have it affect the Fixture. Everything's much simpler now.
2012-02-05 19:22:33 -05:00
Bill Meltsner
f67d454aa3
Fix off-by-one error in Fixture:getBits
2012-02-04 19:45:38 -05:00
Bill Meltsner
ddb1492c1f
bounds check ChainShape:getPoint, and make functions that take indices 1-indexed on the Lua end of things
2012-02-04 19:38:11 -05:00
Bill Meltsner
83f7002f67
Remove the unnecessary transform arguments to Fixture:rayCast that some idiot blindly copy/pasted from Shape:rayCast
2012-02-04 19:16:27 -05:00
Bill Meltsner
2a88ed1fa5
Fix issues with Shape retention in Fixture:getShape()
2012-02-04 18:55:48 -05:00
Bill Meltsner
be55579a22
Happy New Year, have an enormous diff
2012-01-09 02:41:11 -06:00
Bart van Strien
7c1e1fd0db
Return nil if the raycasts don't hit anything (issue #335 )
2012-01-08 13:27:10 +01:00
Bart van Strien
c1f68e058d
Use Box2D's callbacks for destruction of physics objects and wait until the end of the timestep before destroying them.
...
Merge of box2d-id2 from love-experiments
2012-01-08 13:16:50 +01:00
Bart van Strien
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01:00
Bill Meltsner
3bd2316c6c
Remove Fixture:getNext, it was just for testing
...
--HG--
branch : box2d-update
2011-09-24 17:14:03 -04:00
Bill Meltsner
8ae43be1fe
Fix Fixture memory management issues
...
--HG--
branch : box2d-update
2011-09-24 14:54:06 -04:00
Bill Meltsner
06820210eb
better Fixture Shape management
...
--HG--
branch : box2d-update
2011-09-24 13:21:50 -04:00
Bill Meltsner
e962891ba2
Add Fixture:getNext()
...
--HG--
branch : box2d-update
2011-09-24 12:32:28 -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
0d4569d28b
Add mandatory density argument to Body:createFixture
...
--HG--
branch : box2d-update
2011-09-24 02:34:27 -04:00
Bill Meltsner
71abae06c7
Implement Fixture class properly.
...
--HG--
branch : box2d-update
2011-09-23 18:01:40 -04:00
Bill Meltsner
c3d69746c1
making a stab at updating Shapes
...
--HG--
branch : box2d-update
2011-03-13 09:33:32 -04:00