Use a different check for duplicate vertices,
Thanks to fastflo, see http://code.google.com/p/bullet/issues/detail?id=555 and http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=7511&p=25762#p25762 Added missing Intel OpenCL build file, and fix some compile issue due to missing external
This commit is contained in:
@@ -213,7 +213,8 @@ bool btPolyhedralConvexShape::initializePolyhedralFeatures()
|
||||
|
||||
for (int i=0;i<orgpoints.size();i++)
|
||||
{
|
||||
if ((rotatedPt-orgpoints[i]).length2()<0.001)
|
||||
//if ((orgpoints[i].m_orgIndex == orgIndex) || ((rotatedPt-orgpoints[i]).length2()<0.0001))
|
||||
if (orgpoints[i].m_orgIndex == orgIndex)
|
||||
{
|
||||
found=true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user