BEPUphysics.BroadPhaseSystems.SortAndSweep.GridCell2D.Add C# (CSharp) Method

Add() private method

private Add ( BEPUphysics.BroadPhaseSystems.SortAndSweep.Grid2DEntry entry ) : void
entry BEPUphysics.BroadPhaseSystems.SortAndSweep.Grid2DEntry
return void
        internal void Add(Grid2DEntry entry)
        {
            //binary search for the approximately correct location.  This helps prevent large first-frame sort times.
            entries.Insert(GetIndex(entry.item.boundingBox.Min.X), entry);
        }