comment
This commit is contained in:
parent
d8826c751e
commit
d99711e749
@ -435,7 +435,7 @@ void b3SpringCloth::UpdateContacts()
|
|||||||
{
|
{
|
||||||
// The contact persists
|
// The contact persists
|
||||||
|
|
||||||
// Is the contact constraint still violated?
|
// Has the contact constraint been satisfied?
|
||||||
if (c0.Fn <= -B3_FORCE_THRESHOLD)
|
if (c0.Fn <= -B3_FORCE_THRESHOLD)
|
||||||
{
|
{
|
||||||
// Contact force is attractive.
|
// Contact force is attractive.
|
||||||
@ -631,4 +631,4 @@ void b3SpringCloth::Draw() const
|
|||||||
b3Vec3 n2 = -n1;
|
b3Vec3 n2 = -n1;
|
||||||
b3Draw_draw->DrawSolidTriangle(n2, v1, v3, v2, b3Color_blue);
|
b3Draw_draw->DrawSolidTriangle(n2, v1, v3, v2, b3Color_blue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user