fix bug, causing bus-error in ExampleBrowser
This commit is contained in:
@@ -49,7 +49,7 @@ btShapeHull::buildHull (btScalar /*margin*/, int highres)
|
||||
{
|
||||
btVector3 norm;
|
||||
m_shape->getPreferredPenetrationDirection(i,norm);
|
||||
getUnitSpherePoints()[numSampleDirections] = norm;
|
||||
getUnitSpherePoints(highres)[numSampleDirections] = norm;
|
||||
numSampleDirections++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user