decrease merge tolerance

This commit is contained in:
Irlan
2018-05-11 03:21:47 -03:00
parent 6c136123d9
commit 179bb2a146

View File

@ -217,8 +217,8 @@ void b3QHull::Set(const b3Vec3* points, u32 count)
b3Vec3& dv = dvs[j];
b3Vec3 dvn = b3Normalize(dv);
// ~20 degrees
const float32 kTol = 0.95f;
// ~45 degrees
const float32 kTol = 0.7f;
if (b3Dot(vn, dvn) > kTol)
{