Delete world body contacts if world gets detached.

This commit is contained in:
Irlan
2019-06-23 15:29:47 -03:00
parent fe6c2a3b0e
commit 1876592d22
2 changed files with 17 additions and 5 deletions

View File

@ -204,11 +204,6 @@ inline b3Vec3 b3Cloth::GetGravity() const
return m_gravity;
}
inline void b3Cloth::SetWorld(b3World* world)
{
m_world = world;
}
inline const b3World* b3Cloth::GetWorld() const
{
return m_world;