fix previous commit in BulletMultiThreaded.
This commit is contained in:
@@ -130,6 +130,10 @@ bool ManifoldResultAddContactPoint(const btVector3& normalOnBInWorld,
|
|||||||
newPt.m_positionWorldOnA = pointA;
|
newPt.m_positionWorldOnA = pointA;
|
||||||
newPt.m_positionWorldOnB = pointInWorld;
|
newPt.m_positionWorldOnB = pointInWorld;
|
||||||
|
|
||||||
|
newPt.m_combinedFriction = combinedFriction;
|
||||||
|
newPt.m_combinedRestitution = combinedRestitution;
|
||||||
|
|
||||||
|
|
||||||
int insertIndex = manifoldPtr->getCacheEntry(newPt);
|
int insertIndex = manifoldPtr->getCacheEntry(newPt);
|
||||||
if (insertIndex >= 0)
|
if (insertIndex >= 0)
|
||||||
{
|
{
|
||||||
@@ -140,9 +144,6 @@ bool ManifoldResultAddContactPoint(const btVector3& normalOnBInWorld,
|
|||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
|
|
||||||
newPt.m_combinedFriction = combinedFriction;
|
|
||||||
newPt.m_combinedRestitution = combinedRestitution;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
///@todo: SPU callbacks, either immediate (local on the SPU), or deferred
|
///@todo: SPU callbacks, either immediate (local on the SPU), or deferred
|
||||||
//User can override friction and/or restitution
|
//User can override friction and/or restitution
|
||||||
|
|||||||
Reference in New Issue
Block a user