@@ -190,9 +190,9 @@ bool btVoronoiSimplexSolver::updateClosestVectorAndPoints()
|
|||||||
const btVector3& c = m_simplexVectorW[2];
|
const btVector3& c = m_simplexVectorW[2];
|
||||||
const btVector3& d = m_simplexVectorW[3];
|
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] +
|
m_cachedP1 = m_simplexPointsP[0] * m_cachedBC.m_barycentricCoords[0] +
|
||||||
|
|||||||
Reference in New Issue
Block a user