Skip to content
Snippets Groups Projects
Commit 6e4431e9 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

BUG: Fixes fixed node constraint bug in PbdVolumeConstraint

Fix fixed node constraint bug in PbdVolumeConstraint.
parent 0c7614cb
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ VolumeConstraint::solvePositionConstraint(PositionBasedDynamicsModel &model)
x1 += -im1*lambda*grad1;
}
if (im1 > 0) //CHECK: SHOULD THIS BE im2
if (im2 > 0)
{
x2 += -im2*lambda*grad2;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment