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
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
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
64be5a5e3e
moved all private functions to module namespaces
2017-11-26 21:59:06 +00:00
liabru
6593a72e46
added Query.collides, closes #478
2017-11-25 17:19:55 +00:00
Brice Chevalier
2eab580b68
Optimization of Resolver.solvePosition method
2017-11-24 17:44:32 +09:00
Brice Chevalier
235cb2d8bc
linted code
2017-11-24 10:54:52 +09:00
Brice Chevalier
6931276cab
Algorithm optimization of Pair methods create and update
2017-11-24 10:41:18 +09:00
Brice Chevalier
59708eff22
removal of unnecessary variable activePairs
2017-11-22 12:02:23 +09:00
Brice Chevalier
7813c782c7
fixed code style
2017-11-22 11:59:06 +09:00
Brice Chevalier
b44fcf3f82
aglorithm optimization of Pairs.update method
2017-11-22 11:43:58 +09:00
liabru
71998a0056
improved position resolver
2017-05-09 01:13:59 +01:00
liabru
86c4a61279
fix v8 optimisation issues
2016-11-24 01:33:31 +00:00
liabru
e1a52d59aa
Merged sensors from Misiur-master
2016-04-05 23:54:40 +01:00
Liam
79fa57e3cd
Merge pull request #232 from Rantanen/docs
...
Document World bounds and Grid bucket size.
2016-04-05 20:46:39 +01:00
Mikko Rantanen
5054c9717c
Document World bounds and Grid bucket size.
...
Added jsdoc comments for the following properties:
- `world.bounds`
- `grid.bucketWidth`
- `grid.bucketHeight`
2016-04-02 13:49:43 +03:00
Mikko Rantanen
a20a9fbd1c
Fix the out-of-bounds check in grid broadphase
...
`world.bounds` is a normal bounds object with min and max coordinates instead of height and width.
2016-04-02 13:11:26 +03:00
Marcin Misiurski
28084b005a
Change permeable name to sensors, add isSensor to Pair
2015-12-28 21:38:09 +01:00
Marcin Misiurski
1573359354
Add permeable objects
2015-12-28 21:36:51 +01:00
liabru
2e6afd477a
improved docs
2015-12-27 21:14:24 +00:00
liabru
1db98a3e86
fixed issues with friction stability
2015-12-23 12:45:11 +00:00
liabru
e04de5fb4e
removed Detector.bruteForce
2015-12-05 18:12:07 +00:00
liabru
99c3bb3273
move require statements below module export
2015-08-13 23:03:08 +01:00
liabru
9e3438f359
Merge branch 'runner-improve' into browserify
2015-08-13 21:07:58 +01:00
liabru
536e55f496
fix undefined variables, added jshint checks, closes #102
2015-07-02 20:16:20 +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
200fcbe652
added docs
2015-05-20 20:26:39 +01:00
liabru
de4784c492
changed friction impulse limiting approach
2015-05-08 00:14:24 +01:00
liabru
937c7bfcb6
improved friction, added body.frictionStatic
2015-05-03 15:50:38 +01:00
liabru
296059cba2
skip presolve when impulse 0
2015-05-03 13:32:53 +01:00
liabru
ccbb98b8d0
fixed Query.ray, Number.MIN_VALUE seems to cause SAT.collides to fail
2015-04-26 19:44:32 +01:00
liabru
98ea7c7955
added Query.point
2015-04-08 23:33:11 +01:00
liabru
e01dd229a9
fixed compound body stability, improved position resolver
2015-04-08 20:31:03 +01:00
liabru
2b6a8d38af
removed collision.supportCorrected instead using bodyB.position, added render.options.showSeparations
2015-03-04 01:03:38 +00:00
liabru
bc7dfc74b8
fixed support finding logic
2015-02-25 00:13:40 +00:00
liabru
757fffaf20
fixed collision incident and reference body mapping
2015-02-25 00:12:21 +00:00
liabru
b8f3784b76
fix pair properties for compounds
2015-02-24 23:57:38 +00:00
liabru
685f2bdc54
fixed SAT overlap calculation for containment case
2015-02-24 00:01:20 +00:00
liabru
84d9f591aa
improved collision detection for compounds
2015-02-10 23:40:05 +00:00
liabru
87f90655b7
fixes for compound bodies
2015-02-04 23:26:13 +00:00
liabru
10e5d0fcd2
added compound support to Query.ray
2015-02-01 23:59:14 +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
968bba265a
removed Matter.Metrics from release builds (now dev only)
2015-01-25 12:06:55 +00:00
liabru
7a477f2088
implemented temporary vector pool
2015-01-24 19:48:27 +00:00
PlNG
a940d96886
Fixed missed variable declaration.
2015-01-20 11:56:26 -05:00
PlNG
5b87f47673
Update JSDoc
...
This might need fixing later, I don't know if I did it right.
2015-01-20 11:49:24 -05:00
PlNG
d17eb6c9b4
Update JSDoc
...
This might need fixing later, I don't know if I did it right.
2015-01-20 11:49:17 -05:00
PlNG
71ef6c2cdb
Update JSDoc
...
This might need fixing later, I don't know if I did it right.
2015-01-20 11:49:08 -05:00
liabru
5888ffcaf6
cleanup
2015-01-01 17:52:18 +00:00
Jonathan Deutsch
f0e74912d5
When updating pairs use current values from bodies as they may have changed
2014-12-04 13:33:44 -08:00
liabru
5060c7626a
tweaks to collision filtering
2014-07-29 13:14:31 +01:00
Gustav Carlson
dd4fc65cf2
More fine-grained collision filtering in the style of Box2D
2014-07-22 14:52:16 +02:00
liabru
6e1ab9a24c
merge tumult:old_ie_fixes + tweaks
2014-07-12 18:42:39 +01:00
liabru
3e48825088
fixed collision detection issue, closes #12
2014-07-11 15:09:29 +01:00
liabru
eedd1f2a9c
changed Grid.create to accept an options object
2014-06-21 19:18:35 +01:00
liabru
2317f02fb4
improved docs
2014-05-20 14:15:39 +01:00
Jonathan Deutsch
b91af36575
Use own Common.indexOf method for IE 6-8 compatibility
...
Conflicts:
src/core/Common.js
2014-05-05 16:58:42 -07:00
liabru
186d839942
fixed more issues with timing.timeScale
2014-05-04 15:12:23 +01:00
liabru
23a0fce2c0
appease jshint
2014-04-29 15:29:21 +01:00
liabru
b98cef000d
added Query.region
2014-04-28 12:49:36 +01:00
liabru
e8dba617de
fixed some issues with engine.timeScale
2014-04-24 16:23:23 +01:00
liabru
a3a475fce7
added Query module, added Query.ray
2014-04-24 12:21:14 +01:00
liabru
0d4a6f4000
replaced "in" operator usage with access checks, it's a little faster
2014-03-28 18:36:14 +00:00
liabru
b253683cb5
composites now support removals (implemented isModified flag)
2014-03-24 19:48:23 +00:00
liabru
4514f2d598
removed Manager, replaced with Pairs
2014-03-24 00:47:51 +00:00
liabru
13fde400ba
Manager has now become the Pairs data structure
2014-03-24 00:47:05 +00:00
liabru
9a2511dd50
fixed a leak in grid broadphase
2014-03-22 14:44:56 +00:00
liabru
4631768d6f
improved performance by always reusing collision objects
2014-03-17 17:18:47 +00:00
liabru
0add2f00c9
implemented collision caching, big performance boost
2014-03-15 17:28:51 +00:00
liabru
2b5eb92556
improved performance by passing timestamps
2014-03-14 21:14:21 +00:00
liabru
9153c7b836
fixed removal bug in pair manager
2014-03-14 16:11:04 +00:00
liabru
88bd7bc29f
refactored pair manager, added new events to engine
2014-03-10 20:08:11 +00:00
liabru
1c1c21b919
added jsdoc annotation to all src files
2014-02-28 18:15:01 +00:00
liabru
c80fe7f3f9
initial commit
2014-02-19 14:15:05 +00:00