mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-17 14:25:46 +00:00
no longer need to use start_modes, because all the rigid modes are not saved in .bin files in the preprocessor
This commit is contained in:
@@ -12,7 +12,6 @@ btReducedSoftBody::btReducedSoftBody(btSoftBodyWorldInfo* worldInfo, int node_co
|
||||
|
||||
// reduced deformable
|
||||
m_reducedModel = true;
|
||||
m_startMode = 0;
|
||||
m_nReduced = 0;
|
||||
m_nFull = 0;
|
||||
|
||||
@@ -43,9 +42,8 @@ btReducedSoftBody::btReducedSoftBody(btSoftBodyWorldInfo* worldInfo, int node_co
|
||||
m_rigidTransformWorld.setIdentity();
|
||||
}
|
||||
|
||||
void btReducedSoftBody::setReducedModes(int start_mode, int num_modes, int full_size)
|
||||
void btReducedSoftBody::setReducedModes(int num_modes, int full_size)
|
||||
{
|
||||
m_startMode = start_mode;
|
||||
m_nReduced = num_modes;
|
||||
m_nFull = full_size;
|
||||
m_reducedDofs.resize(m_nReduced, 0);
|
||||
|
||||
Reference in New Issue
Block a user