Commit d7d4a7cb authored by ruiliang.gao's avatar ruiliang.gao Committed by Sreekanth Arikatla
Browse files

BUG: Fix the "memory access excpetion" by correcting the triangle - vertex...

BUG: Fix the "memory access excpetion" by correcting the triangle - vertex order in TriangleVertexCollisionData
parent 308ff85a
......@@ -191,7 +191,7 @@ MeshToMeshBruteForceCD::computeCollisionData()
p1[0], p1[1], p1[2],
p2[0], p2[1], p2[2], m_proximityTolerance, m_proximityTolerance))
{
TriangleVertexCollisionData d(i, j);
TriangleVertexCollisionData d(j, i);
m_colData->TVColData.push_back(d);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment