expose the double sided flag

This commit is contained in:
Erwin Coumans
2019-11-12 20:36:20 -08:00
parent 9ca957387f
commit cabef63b1c
4 changed files with 15 additions and 1 deletions

View File

@@ -206,7 +206,11 @@ void DeformableContact::initPhysics()
int numInstances = m_guiHelper->getRenderInterface()->getTotalNumInstances();
double rgbaColors[3][4] = { { 1, 0, 0, 1 } , { 0, 1, 0, 1 } ,{ 0, 0, 1, 1 } };
for (int i = 0; i < numInstances; i++)
{
m_guiHelper->changeInstanceFlags(i, B3_INSTANCE_DOUBLE_SIDED);
}
}
void DeformableContact::exitPhysics()