Merge branch 'master' of https://github.com/erwincoumans/bullet3
This commit is contained in:
@@ -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] +
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ public:
|
|||||||
return btAcos(dot(v) / s);
|
return btAcos(dot(v) / s);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**@brief Return a vector will the absolute values of each element */
|
/**@brief Return a vector with the absolute values of each element */
|
||||||
SIMD_FORCE_INLINE btVector3 absolute() const
|
SIMD_FORCE_INLINE btVector3 absolute() const
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user