mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-26 13:49:01 -05:00
Update JSDoc
This might need fixing later, I don't know if I did it right.
This commit is contained in:
parent
18e0642d24
commit
71ef6c2cdb
1 changed files with 5 additions and 3 deletions
|
@ -31,6 +31,7 @@ var Pairs = {};
|
|||
* @method update
|
||||
* @param {object} pairs
|
||||
* @param {collision[]} collisions
|
||||
* @param {timestamp} timestamp
|
||||
*/
|
||||
Pairs.update = function(pairs, collisions, timestamp) {
|
||||
var pairsList = pairs.list,
|
||||
|
@ -96,6 +97,7 @@ var Pairs = {};
|
|||
* Description
|
||||
* @method removeOld
|
||||
* @param {object} pairs
|
||||
* @param {timestamp} timestamp
|
||||
*/
|
||||
Pairs.removeOld = function(pairs, timestamp) {
|
||||
var pairsList = pairs.list,
|
||||
|
@ -133,9 +135,9 @@ var Pairs = {};
|
|||
|
||||
/**
|
||||
* Clears the given pairs structure
|
||||
* @method create
|
||||
* @param {object} options
|
||||
* @method clear
|
||||
* @param {pairs} pairs
|
||||
* @return {pairs} pairs
|
||||
*/
|
||||
Pairs.clear = function(pairs) {
|
||||
pairs.table = {};
|
||||
|
@ -146,4 +148,4 @@ var Pairs = {};
|
|||
return pairs;
|
||||
};
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue