private RemoveConnectionReference ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection, int index ) : void | ||
connection | BEPUphysics.DeactivationManagement.SimulationIslandConnection | Reference to remove. |
index | int | Index of the connection in this member's list |
return | void |
internal void RemoveConnectionReference(SimulationIslandConnection connection, int index)
{
if (connections.Count > index)
{
connections.FastRemoveAt(index);
if (connections.Count > index)
connections.Elements[index].SetListIndex(this, index);
}
}