mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
Update JSDoc
This might need fixing later, I don't know if I did it right.
This commit is contained in:
parent
25ab2a39b0
commit
d17eb6c9b4
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@ var Pair = {};
|
|||
* Description
|
||||
* @method create
|
||||
* @param {collision} collision
|
||||
* @param {timestamp} timestamp
|
||||
* @return {pair} A new pair
|
||||
*/
|
||||
Pair.create = function(collision, timestamp) {
|
||||
|
@ -44,6 +45,7 @@ var Pair = {};
|
|||
* @method update
|
||||
* @param {pair} pair
|
||||
* @param {collision} collision
|
||||
* @param {timestamp} timestamp
|
||||
*/
|
||||
Pair.update = function(pair, collision, timestamp) {
|
||||
var contacts = pair.contacts,
|
||||
|
@ -83,6 +85,7 @@ var Pair = {};
|
|||
* @method setActive
|
||||
* @param {pair} pair
|
||||
* @param {bool} isActive
|
||||
* @param {timestamp} timestamp
|
||||
*/
|
||||
Pair.setActive = function(pair, isActive, timestamp) {
|
||||
if (isActive) {
|
||||
|
|
Loading…
Reference in a new issue