0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-30 10:20:52 -05:00
Commit graph

127 commits

Author SHA1 Message Date
liabru
97d502ea97 optimised contacts and supports memory and gc use 2023-07-23 12:50:21 +01:00
liabru
f9208df1db optimised pairs and collisions memory and gc use 2023-07-23 12:18:03 +01:00
liabru
4c56e5b11d removed Collision._projectToAxis 2023-07-23 11:22:59 +01:00
liabru
653a110d64 optimised Collision._findSupports 2023-07-23 11:20:28 +01:00
liabru
dc46472720 rename internal Common._timeUnit to Common._baseDelta 2022-09-02 17:59:15 +01:00
liabru
cce3152664 refactor Resolver.solvePosition damping argument 2022-09-02 17:18:02 +01:00
liabru
ee7b00897d clamp resolver slop 2022-08-07 17:22:04 +01:00
liabru
9dc6be78f6 improve delta factors in resolver and constraint stiffness 2022-08-07 00:11:16 +01:00
liabru
07d13fe903 improve delta factors in resolver and constraint stiffness 2022-08-05 23:41:24 +01:00
liabru
7130c4ae80 refactor resolver friction multiplier 2022-01-03 21:30:23 +00:00
liabru
87af8a1740 improved delta consistency 2022-01-01 21:20:52 +00:00
liabru
10a2a07ec2 update timing improvements 2021-12-23 12:43:40 +00:00
liabru
7fce5d861c Merge branch 'master' into timing-improve
* master: (123 commits)
  release 0.18.0
  prevent source map in demo builds
  updated test scripts
  added note about webpack performance to readme
  added benchmark test command
  increase iterations on Example.stress3
  add triangles to mixed bodies example
  added example for Composite.remove
  updated examples
  deprecated Matter.Grid
  added broadphase to Matter.Detector
  replaced Matter.SAT with Matter.Collision
  use force exit in tests
  added cache checks to Matter.Composite
  change raycasting example events to enable use in tests
  optimised collisions
  added Matter.Collision
  use Matter.Runner in test worker
  optimised Matter.Pairs
  optimised Resolver.solvePosition
  ...

# Conflicts:
#	examples/car.js
#	examples/manipulation.js
#	examples/ragdoll.js
#	examples/slingshot.js
#	examples/timescale.js
#	src/collision/Detector.js
#	src/collision/Resolver.js
#	src/collision/SAT.js
#	src/core/Engine.js
#	src/core/Runner.js
2021-12-20 18:52:58 +00:00
liabru
e366d0e992 deprecated Matter.Grid 2021-12-12 12:22:21 +00:00
liabru
a6b5e7d849 added broadphase to Matter.Detector 2021-12-12 12:21:37 +00:00
liabru
b9e7d9dd8b replaced Matter.SAT with Matter.Collision 2021-12-12 10:45:50 +00:00
liabru
fd1a70ec7a optimised collisions 2021-12-08 23:38:42 +00:00
liabru
9037f36f31 added Matter.Collision 2021-12-08 23:36:13 +00:00
liabru
a30707fd87 optimised Matter.Pairs 2021-12-06 23:57:09 +00:00
liabru
f847f4c83e optimised Resolver.solvePosition 2021-12-05 19:30:35 +00:00
liabru
d8a6380899 optimised Matter.Pair 2021-12-05 16:56:41 +00:00
liabru
caeb07e2d2 optimised Detector.collisions 2021-11-21 23:52:13 +00:00
liabru
30b899c862 optimised Resolver.solveVelocity 2021-05-02 23:06:50 +01:00
liabru
e4b3bcd69e optimised Grid._createActivePairsList 2021-05-02 23:06:21 +01:00
liabru
84136de6a4 optimised Grid._bucketRemoveBody 2021-05-02 23:05:43 +01:00
liabru
5e3c629b90 optimised Grid._bucketAddBody 2021-05-02 23:05:21 +01:00
liabru
0af144c78b optimised SAT.collides 2021-05-01 21:57:03 +01:00
liabru
2096961846 optimised SAT._overlapAxes 2021-05-01 16:20:27 +01:00
liabru
0d90a17f2d optimised SAT._findSupports 2021-05-01 15:56:35 +01:00
liabru
efede6e22d optimised Detector.collisions 2021-05-01 14:31:08 +01:00
liabru
e4b35d3961 optimised Resolver.solveVelocity 2021-05-01 14:16:39 +01:00
liabru
0b07a31944 optimised Resolver.preSolveVelocity 2021-05-01 14:16:11 +01:00
liabru
fceb0cab68 optimised Resolver.postSolvePosition 2021-04-29 23:07:18 +01:00
liabru
c7cec16eb7 optimise Detector.collisions 2021-04-29 23:07:18 +01:00
liabru
49fbfba511 optimised Resolver.postSolvePosition 2021-04-29 23:07:18 +01:00
liabru
3cf65e8051 optimised Resolver.solvePosition 2021-04-29 23:07:18 +01:00
liabru
a882a74cd5 optimised Pairs.removeOld 2021-04-29 23:07:18 +01:00
liabru
1073ddeecf optimised Pair.update 2021-04-29 23:07:18 +01:00
liabru
48673db79f optimised Pair.create 2021-04-29 23:07:18 +01:00
liabru
5dbec9bdc6 migrate Matter.World to the equivalent Matter.Composite 2021-04-07 22:38:25 +01:00
liabru
b74e40024b changed engine.broadphase to engine.grid 2021-03-21 20:31:53 +00:00
liabru
63a9e988f4 remove deprecated Matter.Metrics 2021-03-21 18:58:48 +00:00
liabru
298e3e4671 fix lint 2020-03-11 23:56:55 +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
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
7c6cda00f8 added clamping to position resolver damping 2019-09-01 16:57:16 +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
4df048da79 Merge branch 'pr/527'
* pr/527:
  Optimization of Resolver.solvePosition method
2018-06-12 12:51:47 +01:00