restore default voxelsz and add option to change voxelsz

This commit is contained in:
Xuchen Han
2019-08-21 22:29:53 -07:00
parent 4e1c1a30a7
commit 75d0cfaf69
2 changed files with 10 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ public:
m_sbi.m_broadphase = pairCache;
m_sbi.m_dispatcher = dispatcher;
m_sbi.m_sparsesdf.Initialize();
m_sbi.m_sparsesdf.setDefaultVoxelsz(0.0025);
m_sbi.m_sparsesdf.Reset();
m_sbi.air_density = (btScalar)1.2;