BulletSim: code rearrangement

This commit is contained in:
Robert Adams
2012-10-29 14:27:48 -07:00
parent 8c9e4c1f7b
commit bc43c7007d
2 changed files with 6 additions and 8 deletions

View File

@@ -143,8 +143,6 @@ public sealed class BSConstraintCollection : IDisposable
// Return 'true' if any constraints were destroyed.
public bool RemoveAndDestroyConstraint(BulletBody body1)
{
// return BulletSimAPI.RemoveConstraintByID(m_world.ID, obj.ID);
List<BSConstraint> toRemove = new List<BSConstraint>();
uint lookingID = body1.ID;
lock (m_constraints)