0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-30 14:29:04 -05:00
Commit graph

425 commits

Author SHA1 Message Date
liabru
5a0079df1b fix lint 2020-03-10 23:18:25 +00:00
liabru
3216d7e986 Revert "Merge branch 'pr/526'"
This reverts commit 52f3734b3e, reversing
changes made to c04536f2c0.
2020-03-10 08:49:22 +00:00
liabru
d1f1c1907a Revert "Merge branch 'pr/527'"
This reverts commit 4df048da79, reversing
changes made to 52f3734b3e.
2020-03-10 08:48:42 +00:00
liabru
285d70df34 implemented threaded comparison testing 2020-01-01 14:39:21 +00:00
liabru
9ca21c1862 fix lint issues 2019-09-15 18:43:28 +01:00
liabru
3c32969da2 added Constraint.pointAWorld and Constraint.pointBWorld 2019-09-14 19:03:17 +01:00
liabru
94e9614436 fix decomp import in Bodies.fromVertices 2019-09-14 18:59:01 +01:00
liabru
9ef9d020c4 added check for window in Common.now 2019-09-14 18:57:00 +01:00
liabru
046013ee0b added webpack build script 2019-09-14 18:38:33 +01:00
liabru
2ec247b7af added Body.setCentre, closes #684, closes #461, closes #679 2018-11-18 09:24:20 +00:00
liabru
d57747785f fix issues with render pixel ratio, closes #686, closes #687 2018-11-17 23:43:24 +00:00
Omar Shehata
c486635242
Fix typo in docs 2018-10-27 14:33:47 -04:00
liabru
7894b4b44d Merge branch 'pr/553’
* pr/553:
  Optimized Events.trigger method when no event is emitted
2018-06-12 13:13:08 +01:00
liabru
0d51fd1efc Merge branch 'pr/528'
* pr/528:
  reverted change to Body.set method
  Optimized Body's hidden class
2018-06-12 12:58:35 +01:00
liabru
4df048da79 Merge branch 'pr/527'
* pr/527:
  Optimization of Resolver.solvePosition method
2018-06-12 12:51:47 +01:00
liabru
52f3734b3e Merge branch 'pr/526'
* pr/526:
  linted code
  Algorithm optimization of Pair methods create and update
2018-06-12 12:01:06 +01:00
liabru
c04536f2c0 Merge branch 'pr/522'
* pr/522:
  Fixed end collision triggering more than once
  removal of unnecessary variable activePairs
  fixed code style
  aglorithm optimization of Pairs.update method
2018-06-12 11:46:48 +01:00
liabru
db30d79501 fix docs for Vector.angle, closes #471 2018-06-11 19:32:00 +01:00
liabru
f7f77b4cf8 fix Composite.bounds global issue, closes #627, closes #544 2018-06-11 19:18:18 +01:00
liabru
0cf97f5c3c fixed require for external libraries, closes #629, closes #559, closes #593, closes #365, closes #629 2018-06-11 19:05:09 +01:00
liabru
511de5b494 added missing polyfill warning to Svg.pathToVertices 2018-06-11 18:55:27 +01:00
Griva
0b5ce1d77f Fixed constraint pointB documentation 2018-06-09 16:15:25 +02:00
Brice Chevalier
e60ebaccc0 reverted change to Body.set method 2018-03-24 16:50:18 +09:00
Brice Chevalier
7220435e35 Merge branch 'optim-pairs-update' into optim-pair-update 2018-03-24 16:41:17 +09:00
Brice Chevalier
4e04043fe0 Fixed end collision triggering more than once 2018-03-24 16:39:25 +09:00
liabru
ec38eebc1d fix Common.isElement on node, closes #535 2018-01-10 21:34:17 +00:00
Brice Chevalier
b17cb48dbe Optimized Events.trigger method when no event is emitted 2018-01-06 12:17:00 +09: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
Brice Chevalier
b3220cf3e8 Optimized Body's hidden class 2017-11-25 00:32:46 +09:00
Brice Chevalier
2eab580b68 Optimization of Resolver.solvePosition method 2017-11-24 17:44:32 +09:00
Brice Chevalier
235cb2d8bc linted code 2017-11-24 10:54:52 +09:00
Brice Chevalier
6931276cab Algorithm optimization of Pair methods create and update 2017-11-24 10:41:18 +09: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
Brice Chevalier
59708eff22 removal of unnecessary variable activePairs 2017-11-22 12:02:23 +09:00
Brice Chevalier
7813c782c7 fixed code style 2017-11-22 11:59:06 +09:00
Brice Chevalier
b44fcf3f82 aglorithm optimization of Pairs.update method 2017-11-22 11:43:58 +09: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