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

172 commits

Author SHA1 Message Date
liabru
a30707fd87 optimised Matter.Pairs 2021-12-06 23:57:09 +00:00
liabru
8bfaff0cce added support for build metadata in Plugin.versionParse 2021-11-21 16:51:19 +00:00
liabru
5817046eee deprecate Engine.run alias replaced by Runner.run 2021-04-14 23:59:56 +01:00
liabru
8017bdb47c added docs for additional engine timing and render properties 2021-04-11 16:51:32 +01:00
liabru
e94b8b87c9 Merge branch 'render-stats'
* render-stats:
  added Date.now fallback to Common.now, closes #739
  added Example.stats
  added debug stats and performance monitoring to Matter.Render
  improve Render.debug
  set render showDebug option on examples stress and stress2
  added lastDelta and lastElapsed to engine.timing

# Conflicts:
#	src/core/Engine.js
#	src/render/Render.js
2021-04-11 11:36:11 +01:00
liabru
c06c10735f added Date.now fallback to Common.now, closes #739 2021-04-09 20:49:12 +01:00
liabru
6abb3b7e39 changed world.gravity to engine.gravity 2021-04-07 22:40:39 +01:00
liabru
5dbec9bdc6 migrate Matter.World to the equivalent Matter.Composite 2021-04-07 22:38:25 +01:00
liabru
313c1503c8 add Common.setDecomp and Common.getDecomp 2021-04-05 23:48:30 +01:00
liabru
ffa31937f0 added Common.deprecated 2021-03-24 23:44:06 +00:00
liabru
6957dbff63 added Common.warnOnce 2021-03-23 23:59:52 +00:00
liabru
3ac3498712 changed Example.views to use render events 2021-03-22 23:32:55 +00:00
liabru
b74e40024b changed engine.broadphase to engine.grid 2021-03-21 20:31:53 +00:00
liabru
1aa8ed0972 remove deprecated backwards compatibility render integration from Matter.Engine 2021-03-21 19:50:19 +00:00
liabru
6805f85589 remove deprecated backwards compatibility render integration from Matter.Runner 2021-03-21 19:13:02 +00:00
liabru
76bf80eaae remove deprecated backwards compatibility engine events from Matter.Runner 2021-03-21 19:11:30 +00:00
liabru
63a9e988f4 remove deprecated Matter.Metrics 2021-03-21 18:58:48 +00:00
liabru
6dc703f9a9 added lastDelta and lastElapsed to engine.timing 2021-03-16 23:59:13 +00:00
liabru
1e73cabcf8 changed deprecated comments to avoid confusion 2021-01-16 23:27:01 +00:00
liabru
07927162fc add support for > and >= operators in plugin version ranges 2020-12-30 22:28:08 +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
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
d57747785f fix issues with render pixel ratio, closes #686, closes #687 2018-11-17 23:43:24 +00: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
4df048da79 Merge branch 'pr/527'
* pr/527:
  Optimization of Resolver.solvePosition method
2018-06-12 12:51:47 +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
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
Brice Chevalier
2eab580b68 Optimization of Resolver.solvePosition method 2017-11-24 17:44:32 +09: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
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
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
f49d053e1f added second pass for constraint solving 2017-05-03 21:13:29 +01:00
liabru
daf26af006 implemented constraint warming 2017-04-25 23:48:37 +01:00
liabru
b3533937d4 added body.plugin, composite.plugin, constraint.plugin, engine.plugin properties 2017-01-24 20:33:37 +00:00
liabru
86c4a61279 fix v8 optimisation issues 2016-11-24 01:33:31 +00:00
liabru
9856e3cd79 improve docs 2016-11-03 23:35:00 +00:00
liabru
50ad7ca4c0 added Matter.before, Matter.after, Common.chainPathBefore, Common.chainPathAfter, Common.get, Common.set 2016-11-03 00:48:40 +00:00
liabru
05d0961483 fixed various Matter.Plugin issues 2016-11-03 00:44:17 +00:00
liabru
6f8b705b1d update Matter.Plugin docs 2016-09-19 23:15:51 +01:00
liabru
83ae546ad6 changed naming approach for prerelease versions 2016-09-03 23:25:07 +01:00
liabru
3883981097 added docs for Matter.Plugin with tweaks 2016-09-03 23:23:45 +01:00
liabru
51b7b1dea0 added plugin status logging 2016-08-04 00:54:31 +01:00