0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-01-14 16:28:42 -05:00
Commit graph

61 commits

Author SHA1 Message Date
liabru
4230a8bec6 Merge branch 'master' into timing-improve
* master:
  added support for Matter.Runner and Matter.Render in tests
  remove render element warning
  deprecated render.controller property
  handle null constraint points in Constraint.pointAWorld and Constraint.pointBWorld
  improved error messages on tests
2021-12-23 10:41:57 +00:00
liabru
e41446493c handle null constraint points in Constraint.pointAWorld and Constraint.pointBWorld 2021-12-21 20:09:01 +00:00
liabru
8cfc234b5b Merge branch 'master' into timing-improve
* master: (32 commits)
  fix lint
  update dependencies
  Revert "Merge branch 'pr/526'"
  Revert "Merge branch 'pr/527'"
  changed alpha build configuration
  add window global, stub require and handle bad values in test tools
  added overlap metric to test tools
  fix path to build in test worker
  implemented threaded comparison testing
  fixed plugins in compare
  Added build comparison tools and tests
  Added config and test files to lint
  Set loose build version on dev server
  Added watch content base to dev server
  added timing to engine snapshot
  updated readme
  added tag push to release task
  updated readme
  removed yuidocjs dev dependency
  removed unused gulp release tasks
  ...

# Conflicts:
#	src/collision/Resolver.js
#	src/core/Engine.js
2020-03-11 00:52:12 +00:00
liabru
3c32969da2 added Constraint.pointAWorld and Constraint.pointBWorld 2019-09-14 19:03:17 +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
Griva
0b5ce1d77f Fixed constraint pointB documentation 2018-06-09 16:15:25 +02:00
liabru
64be5a5e3e moved all private functions to module namespaces 2017-11-26 21:59:06 +00:00
liabru
3307760e6e improved docs for constraints on compound bodies, closes #442 2017-11-25 15:34:33 +00: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
ab0283b5b3 fix constraint.angularStiffness 2017-05-03 22:05:38 +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
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
ffb128cd0d change Matter.MouseConstraint to use engine beforeUpdate event, closes #73 2017-01-15 16:08:06 +00:00
liabru
d4d64edaa1 improved logging 2016-08-04 00:14:10 +01:00
liabru
de823ebb08 decouple Matter.Render from Matter.Engine 2016-04-26 20:18:44 +01:00
liabru
afd7531fe4 added readonly to docs for type property, closes #235 2016-04-18 00:17:05 +01:00
liabru
6f892502c2 remove constraint torque clamp 2015-12-28 18:50:07 +00:00
liabru
2e6afd477a improved docs 2015-12-27 21:14:24 +00:00
liabru
dff0e30cbc fixed issue with MouseConstraint.create, closes #185 2015-12-23 13:50:31 +00:00
liabru
8210dbebb3 added early out in Constraint.postSolveAll, pass body.velocity when updating bounds 2015-12-02 00:38:56 +00:00
liabru
99c3bb3273 move require statements below module export 2015-08-13 23:03:08 +01:00
liabru
00251e5b04 use browserify 2015-06-04 20:54:50 +01:00
liabru
42dc72dabe Merge branch 'pr/60'
[liabru] corrected some of the param types before merge

Conflicts:
	src/body/Body.js
	src/collision/Resolver.js
	src/render/Render.js
	src/render/RenderPixi.js
2015-05-24 13:43:34 +01:00
liabru
13fcb4b8f9 fixed bug in constraints for compounds 2015-04-21 20:24:21 +01:00
liabru
d6829bf536 added support for compound bodies in MouseConstraint 2015-02-08 00:16:12 +00:00
liabru
87f90655b7 fixes for compound bodies 2015-02-04 23:26:13 +00:00
liabru
f554d6c9a6 implemented compound bodies, added Body.setParts 2015-02-01 00:03:40 +00:00
liabru
243fce47c9 initial work on compound bodies 2015-01-29 23:25:58 +00:00
liabru
b6603ca290 added MouseConstraint.create warning for omitted element 2015-01-21 00:10:39 +00:00
PlNG
18e0642d24 Update JSDoc
This might need fixing later, I don't know if I did it right.
2015-01-20 11:49:03 -05:00
PlNG
c2e0c23539 Spellchecking 2015-01-20 11:07:20 -05:00
PlNG
cd5d4011e6 Spellchecking 2015-01-20 11:07:15 -05:00
liabru
5888ffcaf6 cleanup 2015-01-01 17:52:18 +00:00
liabru
c254c8d674 added drag events to MouseConstraint, closes #45 2014-09-19 00:31:40 +01:00
liabru
cee8d55a32 added collisionFilter support to MouseConstraint 2014-07-29 13:26:20 +01:00
liabru
fb5d899086 removed engine.input, removed Engine mouse events, added MouseConstraint mouse events 2014-06-21 17:44:25 +01:00
liabru
2317f02fb4 improved docs 2014-05-20 14:15:39 +01:00
liabru
cb7cb9583a added Common.nextId, removed Body.nextId, removed Constraint.nextId, removed Composite.nextId 2014-04-29 17:34:28 +01:00
liabru
e8f5b221f5 better default labels 2014-04-25 17:22:25 +01:00
liabru
a59abed8ec added labels to bodies, constraints and composites 2014-04-25 16:56:59 +01:00
liabru
537f0912c3 constraints now account for timeScale 2014-04-23 14:26:57 +01:00
liabru
aeea9f8c08 tweaks to docs 2014-04-01 13:45:15 +01:00