Alex Szpakowski
96161c66f6
Updated copyright text for the new year
2013-02-05 05:32:49 -04:00
Bart van Strien
7793e7f02f
CRLF to LF
2012-07-04 14:40:24 +02:00
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
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
dac757b688
remove scaling for density.
...
while technically density is (according to the Box2D docs) in kg/m^2, it seems like a number that can be safely left un-scaled, for simplicity's sake; the concept of a shape/fixture's density seems sufficiently divorced from the MKS system as to render this a non-issue. if this proves to be a problem in use, scaling can be re-added.
2012-02-04 18:26:43 -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
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01: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
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
d8f3db6682
exposed new Shape functions
...
--HG--
branch : box2d-update
2011-09-15 15:31:09 -04:00
Bill Meltsner
7ec64bf912
Add basic EdgeShape (todo: all edge-related functionality) and further integrated the new Joints
...
--HG--
branch : box2d-update
2011-09-04 13:21:57 -04:00
Bill Meltsner
c3d69746c1
making a stab at updating Shapes
...
--HG--
branch : box2d-update
2011-03-13 09:33:32 -04: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
rude
8c721ceb6a
Some small fixes to make LOVE compilable in MSVC2010.
2010-09-05 12:05:05 +02:00
Bill Meltsner
73aba4bdd4
eliminated a whole bunch of gcc warnings
2010-02-09 13:21:25 -05:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +01:00
bart@bartbes.ath.cx
5f9cf99abd
Fixed epic physics typo (getRestituion->getRestitution)
2010-01-07 20:36:14 +01:00
rude
cd24dbcb8e
Added get/setGroupIndex ( #129 ) and get/setFixedRotation ( #113 ). Also fixed 3000 auto.lua-related warnings in MSVC.
2010-01-04 20:02:36 +01:00
rude
86ac10c3f6
Fixed bug where destroyed objects in love.physics cause crash when collected.
2009-11-10 23:25:12 +01:00
rude
87e3c4131c
Finally abstracted constants properly. Changed how the event module works; wasn't really abstract before. Removed libs we're not going to use: native, signal.
2009-10-10 11:11:04 +02:00
bart@bart
0b38be2b4c
Readded get/setCategory and get/setMask
2009-09-05 14:37:44 +02:00
rude
797f536f05
Changed function names of love.physics to match Box2D.
2009-08-04 23:05:49 +02:00
rude
dcb3dfd83d
Initial Mercurial commit.
2009-07-26 15:46:49 +02:00