Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Mar 10, 2020
1 parent 5f5b8a1 commit 5a0079d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/collision/Resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ var Bounds = require('../geometry/Bounds');

// get current separation between body edges involved in collision
bodyBtoA = Vector.sub(Vector.add(bodyB.positionImpulse, bodyB.position, tempA),
Vector.add(bodyA.positionImpulse,
Vector.sub(bodyB.position, collision.penetration, tempB), tempC), tempD);
Vector.add(bodyA.positionImpulse,
Vector.sub(bodyB.position, collision.penetration, tempB), tempC), tempD);

pair.separation = Vector.dot(normal, bodyBtoA);
}
Expand Down

0 comments on commit 5a0079d

Please sign in to comment.