From 5a0079df1b0a10b4ec5ef5e645d18b3e3910565c Mon Sep 17 00:00:00 2001 From: liabru Date: Tue, 10 Mar 2020 23:18:25 +0000 Subject: [PATCH] fix lint --- src/collision/Resolver.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collision/Resolver.js b/src/collision/Resolver.js index c53817f..45376da 100644 --- a/src/collision/Resolver.js +++ b/src/collision/Resolver.js @@ -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); }