More consistency and pass velocity and position iterations to cloth constraint solver
This commit is contained in:
@ -86,7 +86,7 @@ public:
|
||||
{
|
||||
Test::Step();
|
||||
|
||||
m_cloth->Step(g_testSettings->inv_hertz);
|
||||
m_cloth->Step(g_testSettings->inv_hertz, g_testSettings->velocityIterations, g_testSettings->positionIterations);
|
||||
|
||||
m_cloth->Draw();
|
||||
|
||||
|
@ -84,7 +84,7 @@ public:
|
||||
{
|
||||
Test::Step();
|
||||
|
||||
m_cloth->Step(g_testSettings->inv_hertz);
|
||||
m_cloth->Step(g_testSettings->inv_hertz, g_testSettings->velocityIterations, g_testSettings->positionIterations);
|
||||
|
||||
m_cloth->Draw();
|
||||
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
{
|
||||
Test::Step();
|
||||
|
||||
m_cloth->Step(g_testSettings->inv_hertz);
|
||||
m_cloth->Step(g_testSettings->inv_hertz, g_testSettings->velocityIterations, g_testSettings->positionIterations);
|
||||
|
||||
m_cloth->Draw();
|
||||
|
||||
|
@ -110,7 +110,7 @@ public:
|
||||
{
|
||||
Test::Step();
|
||||
|
||||
m_cloth->Step(g_testSettings->inv_hertz);
|
||||
m_cloth->Step(g_testSettings->inv_hertz, g_testSettings->velocityIterations, g_testSettings->positionIterations);
|
||||
|
||||
const b3ClothMesh* mesh = m_cloth->GetMesh();
|
||||
|
||||
|
Reference in New Issue
Block a user