Jitter.Collision.CollisionSystemPersistentSAP.ResizeMatrix C# (CSharp) Method

ResizeMatrix() private method

private ResizeMatrix ( int growValue ) : void
growValue int
return void
        private void ResizeMatrix(int growValue)
        {
            if (bodyList.Count > t2bM.Size)
            {
                t2bM.Size += growValue;
            }
            else if (t2bM.Size - bodyList.Count > growValue)
            {
                t2bM.Size -= growValue;
            }
        }