0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-23 09:26:51 -05:00
Commit graph

901 commits

Author SHA1 Message Date
liabru
288b9cdb2f updated ci 2019-09-15 19:01:34 +01:00
liabru
9ca21c1862 fix lint issues 2019-09-15 18:43:28 +01:00
liabru
5b0d34b9e0 changed demo to auto populate examples with sourceLink and init 2019-09-15 18:36:26 +01:00
liabru
823bbc0b5f changed demo to serve without sub-directory 2019-09-15 18:34:04 +01:00
liabru
50cf171c8a updated docs 2019-09-14 19:37:22 +01:00
liabru
104d31902c changed example tests to use jest 2019-09-14 19:31:31 +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
f9ea7995bf added module export to examples 2019-09-14 18:54:50 +01:00
liabru
6b698ea2f6 updated build scripts 2019-09-14 18:49:24 +01:00
liabru
046013ee0b added webpack build script 2019-09-14 18:38:33 +01:00
liabru
f5311a600c updated edge build 2019-09-01 16:58:27 +01:00
liabru
7c6cda00f8 added clamping to position resolver damping 2019-09-01 16:57:16 +01:00
liabru
fba5af2116 updated edge build 2019-09-01 13:51:59 +01:00
liabru
516494e3df Added substeps feature to Matter.Runner 2019-09-01 13:49:22 +01:00
liabru
d7e4f585b7 Changed examples to be delta independent 2019-09-01 13:36:16 +01:00
liabru
db8b73f09d Added updateVelocity argument to Body.setPosition, Body.setAngle, Body.translate, Body.rotate
Added Body.setSpeed, Body.setAngularSpeed
Added Body.getSpeed, Body.getVelocity, Body.getAngularVelocity
Changed all velocity functions to be time independent
2019-09-01 13:26:24 +01:00
liabru
0784a5b5df Added readonly body.deltaTime
Added delta property to engine update event
Added delta argument to various internal functions
Changed timeScale argument to use delta instead on various internal functions
Fixed issues when using an engine update delta of 0
Improved time independence for friction, air friction, restitution, sleeping, collisions, constraints
Removed optional correction argument from Engine.update
Removed correction and timeScale from Body.update and Matter.Runner
2019-09-01 12:21:16 +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
Liam
773510f985
Merge pull request #683 from OmarShehata/patch-1
fix typo in docs
2018-11-16 23:04:36 +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
306dc0241c release 0.14.2 2018-06-11 23:15:03 +01:00
liabru
e3c176e730 remove browserify-shim 2018-06-11 21:10:11 +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
liabru
1e5758fa6e updated pathseg library, closes #548, closes #602, closes #424 2018-06-11 16:22:34 +01:00
Liam
aad4914aa4
Merge pull request #628 from Qriva/master
Fixed constraint pointB documentation
2018-06-11 16:07:28 +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
06655ff2c7 release 0.14.1 2018-01-10 21:35:40 +00: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
b5dc3b231d release 0.14.0 2017-11-30 00:16:03 +00:00
liabru
2279e15fd1 added .eslintignore 2017-11-30 00:13: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
fca0994628 Merge branch 'pr/463'
* pr/463:
  remove spelling mistake
2017-11-25 17:28:02 +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