Apply a bugfix

This commit is contained in:
Irlan 2019-06-18 11:55:09 -03:00
parent 13d8415a15
commit f9e8d9394b

View File

@ -19,6 +19,7 @@
#include <bounce/cloth/cloth_contact.h>
#include <bounce/cloth/cloth_mesh.h>
#include <bounce/cloth/particle.h>
#include <bounce/cloth/cloth_triangle.h>
#include <bounce/common/geometry.h>
//
@ -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;