From dd749734742ceadca6a1f08d5dc2be9fcfc73fe1 Mon Sep 17 00:00:00 2001 From: panjia1983 <panjia1983@gmail.com> Date: Mon, 28 Jan 2013 15:03:39 -0800 Subject: [PATCH] --- src/narrowphase/narrowphase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/narrowphase/narrowphase.cpp b/src/narrowphase/narrowphase.cpp index a380308d..3ff84588 100644 --- a/src/narrowphase/narrowphase.cpp +++ b/src/narrowphase/narrowphase.cpp @@ -1018,7 +1018,7 @@ int boxBox2(const Vec3f& side1, const Matrix3f& R1, const Vec3f& T1, normal2 = -normal; nr = Rb->transposeTimes(normal2); - anr = abs(anr); + anr = abs(nr); // find the largest compontent of anr: this corresponds to the normal // for the indident face. the other axis numbers of the indicent face -- GitLab