0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-25 13:39:06 -05:00
Commit graph

392 commits

Author SHA1 Message Date
liabru
ec38eebc1d fix Common.isElement on node, closes #535 2018-01-10 21:34:17 +00:00
liabru
64be5a5e3e moved all private functions to module namespaces 2017-11-26 21:59:06 +00:00
liabru
2dc7a0bf5e Merge branch 'pr/440'
* pr/440:
  Do not warn on missing render.element if the canvas is already parented (because it was passed in at construction).
2017-11-25 17:31:58 +00:00
liabru
6593a72e46 added Query.collides, closes #478 2017-11-25 17:19:55 +00:00
liabru
3307760e6e improved docs for constraints on compound bodies, closes #442 2017-11-25 15:34:33 +00:00
liabru
841bf975f1 added missing docs for Matter.World aliases 2017-11-25 14:59:42 +00:00
liabru
ece66e6f16 fix centroid for static compound bodies, closes #483 2017-11-25 14:52:41 +00:00
liabru
50a89d0217 fix Body.scale for compound bodies 2017-11-25 14:16:38 +00:00
liabru
f7d18779be fix inertia change in Body.setMass, closes #378 2017-11-25 14:11:53 +00:00
liabru
894c1efeee fix point argument of Body.scale, closes #428 2017-11-22 22:05:18 +00:00
liabru
3bceef4f7e fix Vertices.chamfer radius argument, closes #467 2017-11-22 21:42:08 +00:00
liabru
18a084574e fix Common.isElement, closes #501, closes #507, closes #459, closes #468, closes #517 2017-11-22 21:27:34 +00:00
liabru
9eae36f50d moved private Matter.Engine functions on to namespace, closes #523 2017-11-22 20:43:03 +00:00
liabru
774d8bccff fix lint errors 2017-07-06 23:36:39 +01:00
liabru
56b0bb463f Merge branch 'constraint-fixes'
* constraint-fixes: (31 commits)
  tweaked Example.doublePendulum
  added Composite.bounds
  upgraded matter-wrap
  added Examples.ragdoll
  upgraded matter-tools
  fixed various constraints in examples
  improved spring and pin rendering
  update alpha build
  added Example.constraints
  added constraint.render.type and constraint.render.anchor
  update alpha build
  added constraint damping
  update alpha build
  changed lint rules
  added Example.doublePendulum
  added rotation point parameter to Body.rotate, closes #410
  fix constraint.angularStiffness
  fix soft body stiffness
  fixed Examples.compound constraint offset
  improved Example.chains using pin constraint
  ...
2017-07-06 23:03:05 +01:00
liabru
79ffcf891e added Composite.bounds 2017-07-06 21:51:23 +01:00
Andrew n marshall
a529ec9dcd Do not warn on missing render.element if the canvas is already parented (because it was passed in at construction). 2017-07-02 20:25:34 -07:00
liabru
ac67ef8e5c fixed various constraints in examples 2017-06-28 00:21:17 +01:00
liabru
837c43bdb5 improved spring and pin rendering 2017-06-28 00:20:36 +01:00
liabru
0952516e57 added constraint.render.type and constraint.render.anchor 2017-06-26 23:20:34 +01:00
liabru
44c4d1ff8d added constraint damping 2017-06-12 19:53:40 +01:00
liabru
71998a0056 improved position resolver 2017-05-09 01:13:59 +01:00
liabru
d2af721c49 updated license and contributing 2017-05-09 00:46:03 +01:00
liabru
295cffeacf refactored Common.isElement 2017-05-09 00:41:05 +01:00
liabru
d63b0c25c8 removed Common.shadeColor 2017-05-09 00:40:16 +01:00
liabru
2b76c4c10b fixed Common.now 2017-05-09 00:39:35 +01:00
liabru
749ed5066e added rotation point parameter to Body.rotate, closes #410 2017-05-04 00:31:56 +01:00
liabru
ab0283b5b3 fix constraint.angularStiffness 2017-05-03 22:05:38 +01:00
liabru
1bae2dee45 fix soft body stiffness 2017-05-03 21:42:41 +01:00
liabru
130e6b3f56 improved Example.car using pin constraint 2017-05-03 21:26:40 +01:00
liabru
f49d053e1f added second pass for constraint solving 2017-05-03 21:13:29 +01:00
liabru
a5bd6b2d55 change constraint solve order 2017-05-03 21:10:14 +01:00
liabru
a8d1950148 fixed constraint torque calculation 2017-05-02 23:50:01 +01:00
liabru
068fdc0f2a fixed constraint torque calculation 2017-04-29 21:17:09 +01:00
liabru
daf26af006 implemented constraint warming 2017-04-25 23:48:37 +01:00
liabru
26a60e4dcf fixed various problems with constraints 2017-04-25 23:47:49 +01:00
liabru
59d62be899 added optional output argument to Vector.rotate 2017-04-25 23:43:29 +01:00
liabru
0ce686d0c1 fix lint 2017-02-02 00:17:01 +00:00
liabru
b3533937d4 added body.plugin, composite.plugin, constraint.plugin, engine.plugin properties 2017-01-24 20:33:37 +00:00
liabru
719ad649fe changed default render styles 2017-01-19 23:36:19 +00:00
liabru
1a40f2754c improved demo and examples 2017-01-16 23:47:39 +00:00
liabru
c8e5d5c3b0 added Render.startViewTransform and Render.endViewTransform 2017-01-16 23:47:39 +00:00
liabru
47443b3362 added Render.lookAt 2017-01-16 23:47:39 +00:00
liabru
ffb128cd0d change Matter.MouseConstraint to use engine beforeUpdate event, closes #73 2017-01-15 16:08:06 +00:00
Liam
68382d62c3 Merge pull request #315 from codeclown/patch-1
fix issue when render.lineWidth = 0, closes #220
2017-01-15 15:16:25 +00:00
liabru
a815ce4d0a fix Body.setStatic(body, false), closes #187 2016-12-04 23:54:07 +00:00
liabru
c72a9d017f add poly-decamp require shim 2016-12-02 00:29:08 +00:00
liabru
5024364761 Merge branch 'master' of https://github.com/RobertHerhold/matter-js into RobertHerhold-master
# Conflicts:
#	src/factory/Bodies.js
2016-12-01 23:58:53 +00:00
liabru
dd83386e0f fix Render.grid 2016-11-28 00:42:56 +00:00
liabru
86c4a61279 fix v8 optimisation issues 2016-11-24 01:33:31 +00:00