From 3c2c53bb2bdfea53bf60b7faca56e29a47094eca Mon Sep 17 00:00:00 2001 From: Irlan <-> Date: Tue, 2 Oct 2018 16:25:04 -0300 Subject: [PATCH] typo --- src/bounce/collision/gjk/gjk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bounce/collision/gjk/gjk.cpp b/src/bounce/collision/gjk/gjk.cpp index 1b058df..c569598 100644 --- a/src/bounce/collision/gjk/gjk.cpp +++ b/src/bounce/collision/gjk/gjk.cpp @@ -916,7 +916,7 @@ bool b3GJKRayCast(b3GJKRayCastOutput* output, b3Transform txf2; txf2.rotation = xf2.rotation; - txf2.position = (1.0f - t) * xf2.position + t * (xf2.position + r); + txf2.position = (1.0f - t) * xf2.position + t * (xf2.position + translation2); gjkOut = b3GJK(txf1, proxy1, txf2, proxy2, false, &cache); d = gjkOut.distance;