From 5dcd79344288190b6591dc12d2fc089a809ca2db Mon Sep 17 00:00:00 2001 From: Massimiliano Pesce Date: Fri, 24 Aug 2018 20:01:09 +0200 Subject: [PATCH] Fixes a typo that breaks circle collisions --- DynamicsB2ContactCircle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DynamicsB2ContactCircle.go b/DynamicsB2ContactCircle.go index 965b365..5e489ea 100644 --- a/DynamicsB2ContactCircle.go +++ b/DynamicsB2ContactCircle.go @@ -21,6 +21,6 @@ func (contact *B2CircleContact) Evaluate(manifold *B2Manifold, xfA B2Transform, B2CollideCircles( manifold, contact.GetFixtureA().GetShape().(*B2CircleShape), xfA, - contact.GetFixtureA().GetShape().(*B2CircleShape), xfB, + contact.GetFixtureB().GetShape().(*B2CircleShape), xfB, ) }