From f9e8d9394bb89d798e98d39c11312a137cfe0a9f Mon Sep 17 00:00:00 2001 From: Irlan Date: Tue, 18 Jun 2019 11:55:09 -0300 Subject: [PATCH] Apply a bugfix --- src/bounce/cloth/cloth_contact.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bounce/cloth/cloth_contact.cpp b/src/bounce/cloth/cloth_contact.cpp index 814a728..be57dad 100644 --- a/src/bounce/cloth/cloth_contact.cpp +++ b/src/bounce/cloth/cloth_contact.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include // @@ -134,7 +135,7 @@ void b3ParticleTriangleContact::Update() } float32 r1 = m_p1->m_radius; - float32 r2 = 0.0f; + float32 r2 = m_t2->m_radius; float32 totalRadius = r1 + r2;