switch to Baraff style constraint

This commit is contained in:
Xuchen Han
2019-08-09 13:39:25 -07:00
parent 27492887bf
commit 5b8df6a708
5 changed files with 98 additions and 47 deletions

View File

@@ -73,7 +73,6 @@ public:
{
BT_PROFILE("enforceConstraint");
projection.enforceConstraint(x);
updateVelocity(x);
}
// add dv to velocity
@@ -86,7 +85,6 @@ public:
void project(TVStack& r)
{
BT_PROFILE("project");
projection.update();
projection.project(r);
}