This commit is contained in:
Giuseppe Barbieri
2017-10-07 13:47:34 +02:00
committed by GitHub
parent 5161b44c37
commit b31f372e3b

View File

@@ -190,9 +190,9 @@ bool btVoronoiSimplexSolver::updateClosestVectorAndPoints()
const btVector3& c = m_simplexVectorW[2];
const btVector3& d = m_simplexVectorW[3];
bool hasSeperation = closestPtPointTetrahedron(p,a,b,c,d,m_cachedBC);
bool hasSeparation = closestPtPointTetrahedron(p,a,b,c,d,m_cachedBC);
if (hasSeperation)
if (hasSeparation)
{
m_cachedP1 = m_simplexPointsP[0] * m_cachedBC.m_barycentricCoords[0] +