An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 2a8ab163 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

BUG: Fix bug in CCD

parent 2d34a269
......@@ -50,10 +50,13 @@ MeshToMeshCD::MeshToMeshCD(std::shared_ptr<SurfaceMesh> meshA,
void
MeshToMeshCD::computeCollisionData()
{
// Clear collisionData
m_colData.clearAll();
// Update model
m_modelA->UpdateVert(m_meshA->getVertexPositions());
m_modelB->UpdateVert(m_meshB->getVertexPositions());
m_modelB->UpdateBoxes();
m_modelA->UpdateBoxes();
m_modelB->UpdateBoxes();
// Update BVH
......
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