mirror of
https://github.com/liabru/matter-js.git
synced 2025-01-12 16:08:50 -05:00
linted code
This commit is contained in:
parent
6931276cab
commit
235cb2d8bc
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ module.exports = Pair;
|
|||
|
||||
if (collision.collided) {
|
||||
var supports = collision.supports,
|
||||
activeContacts = pair.activeContacts;
|
||||
activeContacts = pair.activeContacts,
|
||||
parentA = collision.parentA,
|
||||
parentB = collision.parentB;
|
||||
|
||||
|
@ -74,7 +74,7 @@ module.exports = Pair;
|
|||
// Most likely unnecessary
|
||||
var supportCount = supports.length;
|
||||
if (supportCount < activeContacts.length) {
|
||||
activeContacts.length = supportCount;
|
||||
activeContacts.length = supportCount;
|
||||
}
|
||||
|
||||
pair.separation = collision.depth;
|
||||
|
|
Loading…
Reference in a new issue