liabru
52e797791b
optimised Matter.Composite
2021-12-05 19:11:29 +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
8bfaff0cce
added support for build metadata in Plugin.versionParse
2021-11-21 16:51:19 +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
c1988783db
optimised Vertices.contains
2021-04-29 23:07:18 +01:00
liabru
6883d0d98a
optimised Vertices.rotate
2021-04-29 23:07:18 +01:00
liabru
792ae2ead4
optimised Vertices.translate
2021-04-29 23:07:18 +01: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
e49834d1e0
remove unused render shadow function
2021-04-08 00:33:45 +01:00
liabru
ec3eeccd18
add docs for all Matter.Render options
2021-04-08 00:31:31 +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
9ad980b975
deprecated Composites.newtonsCradle and added to newtonsCradle example
2021-04-06 21:22:29 +01:00
liabru
818f354e9c
deprecated Composites.softBody and added to softBody and cloth examples
2021-04-06 21:18:57 +01:00
liabru
cd9c5d43db
deprecated Composites.car and added to car example
2021-04-06 21:13:27 +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
08a515b968
remove deprecated Matter.RenderPixi
2021-03-21 18:24:08 +00:00
liabru
119881b43c
added debug stats and performance monitoring to Matter.Render
2021-03-20 23:44:31 +00:00
liabru
1753bf0904
improve Render.debug
2021-03-18 23:59:52 +00:00
liabru
6dc703f9a9
added lastDelta and lastElapsed to engine.timing
2021-03-16 23:59:13 +00:00
liabru
2ade78fb75
improve docs for Bodies.fromVertices
2021-01-31 21:20:37 +00:00
liabru
e87f64a2f3
fix decomp require and improve warning message
2021-01-31 21:18:25 +00:00
liabru
1e73cabcf8
changed deprecated comments to avoid confusion
2021-01-16 23:27:01 +00:00
liabru
882e07c1ba
fix poly-decomp external require
2021-01-16 23:10:27 +00:00
liabru
57d8576fd1
add check for decomp removeDuplicatePoints feature
2021-01-12 23:55:00 +00:00
liabru
a9694e6b53
Squashed commit of the following:
...
commit 421e56d37d738c8a97dcd01fcee858de54954efc
Merge: 9c5325b
4eb61c0
Author: liabru <liabru@brm.io>
Date: Tue Jan 12 23:33:43 2021 +0000
Merge branch 'removeDuplicatePoints' of https://github.com/tumult/matter-js into tumult-removeDuplicatePoints
# Conflicts:
# src/factory/Bodies.js
commit 4eb61c004d
Author: Jonathan Deutsch <jonathan@tumult.com>
Date: Thu Jul 26 15:37:00 2018 -0700
change removeDuplicatePoints precision to default in docs
commit 6c5d4065c2
Author: Jonathan Deutsch <jonathan@tumult.com>
Date: Thu Jul 26 14:33:39 2018 -0700
Add removeDuplicatePoints option from polygon-decomp 0.3.0 to Bodies.fromVertices()
2021-01-12 23:36:04 +00:00
liabru
207c2f3ccb
merge branch 'master' into timing-improve
2020-12-31 17:29:37 +00:00
liabru
07927162fc
add support for > and >= operators in plugin version ranges
2020-12-30 22:28:08 +00:00
liabru
d258411faa
update default render theme
2020-12-08 23:45:34 +00:00
liabru
0af16455b9
fix decomp require
2020-11-24 22:32:28 +00:00
liabru
298e3e4671
fix lint
2020-03-11 23:56:55 +00:00
liabru
3117dfdaa7
change Body.applyForce for timing, add initial body.deltaTime
2020-03-11 23:50:41 +00:00
liabru
6f5af774ce
fix issues with engine event.delta
2020-03-11 23:47:07 +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
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
7c6cda00f8
added clamping to position resolver damping
2019-09-01 16:57:16 +01:00
liabru
516494e3df
Added substeps feature to Matter.Runner
2019-09-01 13:49:22 +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
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