0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-26 13:49:01 -05:00
Commit graph

530 commits

Author SHA1 Message Date
liabru
73ded98a67 fixed Body.setVertices 2014-06-03 17:28:01 +01:00
liabru
874618520b fixed chaining for some Matter.Vertices methods 2014-06-03 15:59:04 +01:00
liabru
9a55b0c902 fixed critical inertia calculation issue, a potential breaking change, so Body._inertiaScale added to try preserve previous behaviour 2014-06-03 15:54:21 +01:00
liabru
2d04389c84 changed Body._initProperties to use Body.setVertices 2014-06-03 15:48:12 +01:00
liabru
b6dbb259ab added Body.setVertices and Vector.clone 2014-06-03 15:47:00 +01:00
liabru
e3e462e64c changed Vertices.create and Vertices.fromPath to create and return a new array rather than apply in-place 2014-06-03 14:02:12 +01:00
liabru
3a16f90404 fixed issue with docs 2014-06-03 13:46:23 +01:00
liabru
2317f02fb4 improved docs 2014-05-20 14:15:39 +01:00
liabru
261c7949c4 added CONTRIBUTING.md 2014-05-10 16:15:18 +01:00
liabru
7c936d5f46 added CONTRIBUTING.md 2014-05-10 16:13:49 +01:00
liabru
9a59e34d8c added building and contributing to readme 2014-05-10 15:52:59 +01:00
liabru
0a46cb248b changed Math.random to Common.random and use a seeded RNG 2014-05-10 15:01:35 +01:00
liabru
3043baa53c added Demo.slingshot 2014-05-09 11:00:07 +01:00
Jonathan Deutsch
b91af36575 Use own Common.indexOf method for IE 6-8 compatibility
Conflicts:
	src/core/Common.js
2014-05-05 16:58:42 -07:00
liabru
b6ed9f04bc release 0.8.0 2014-05-05 19:32:51 +01:00
liabru
8b6b623369 added check for MatterTools to Demo 2014-05-05 18:18:15 +01:00
liabru
c28c9cde69 added demo support for hash + '-inspect' to start the inspector 2014-05-04 22:41:39 +01:00
liabru
1fac632f98 added Demo.timescale 2014-05-04 16:57:27 +01:00
liabru
186d839942 fixed more issues with timing.timeScale 2014-05-04 15:12:23 +01:00
liabru
a8d7a40249 added scaling to Demo.views 2014-05-04 12:43:29 +01:00
liabru
1f8ee5ccca added scale support to Render 2014-05-04 12:37:45 +01:00
liabru
0c107b21ed added mouse.wheelDelta 2014-05-04 12:37:23 +01:00
liabru
8427e89938 fixed Mouse.setScale and Mouse.setOffset 2014-05-04 12:37:04 +01:00
liabru
e63689c938 added Mouse.setScale, Mouse.setPosition, mouse.absolute 2014-05-03 18:45:48 +01:00
liabru
d41b396c7f added Demo.rounded 2014-05-03 16:54:22 +01:00
liabru
120157d6fd added Vertices.chamfer (for rounding corners) 2014-05-03 16:53:21 +01:00
liabru
f1db9df854 removed body.render.path 2014-05-02 19:08:01 +01:00
liabru
bd84d4866e fixed Vertices.centre calculation 2014-05-02 18:59:49 +01:00
liabru
ebc00f83ef changed engine.timing.timestamp to be simulation based rather than wall-clock based 2014-05-02 12:59:41 +01:00
liabru
2fad14336c fixed: changed correction to now be optional in Engine.update (defaults to 1) 2014-05-02 12:53:44 +01:00
liabru
4e14169ac6 changed correction to now be optional in Engine.update (defaults to 1) 2014-05-02 12:25:32 +01:00
liabru
d1f607edb8 added Engine.render, moved respective engine event triggers into Engine.update and Engine.render 2014-05-02 12:23:13 +01:00
liabru
bc35c93106 added engine.timing.isFixed option 2014-05-02 10:48:24 +01:00
liabru
a77a5fc626 moved Matter.Inspector and Matter.Gui to the MatterTools project 2014-05-01 23:13:42 +01:00
liabru
aff85ed120 updated edge build 2014-05-01 14:09:06 +01:00
liabru
5a72bf1cae further work on Matter.Inspector and Matter.Gui 2014-05-01 13:52:04 +01:00
liabru
3967608d7c fixed Demo.reset 2014-05-01 13:44:44 +01:00
liabru
4af6c1c64e added Demo.views 2014-05-01 13:41:15 +01:00
liabru
786b9af7a0 added mouse.offset 2014-05-01 13:40:45 +01:00
liabru
2a9d2613d6 implemented render.bounds 2014-05-01 13:40:15 +01:00
liabru
38c541363a added Bounds.translate and Bounds.shift 2014-05-01 13:38:56 +01:00
liabru
77168e5faf fixed issue with Matter.Mouse 2014-05-01 11:52:50 +01:00
liabru
3750bfc719 added offset property to Matter.Gui 2014-04-30 22:37:46 +01:00
liabru
7a8051b585 Engine.merge now uses Common.nextId 2014-04-30 21:55:08 +01:00
liabru
84c3b79c2c further work on Matter.Inspector 2014-04-30 12:14:06 +01:00
liabru
5f3e69cb70 fixed Body.setStatic 2014-04-30 12:13:37 +01:00
liabru
3065667125 upgraded resurrect 2014-04-30 10:34:12 +01:00
liabru
f530ed4f36 changed demo to properly track and clear events between scenes 2014-04-30 10:33:37 +01:00
liabru
5b013d01e7 changed Events.on to return callback, changed Events.off to accept callbacks for removal 2014-04-30 10:32:34 +01:00
liabru
43ce567714 further work on Matter.Inspector 2014-04-29 17:35:27 +01:00