BEPUphysics.NarrowPhaseSystems.NarrowPhasePairFactory.EnsureCount C# (CSharp) Method

EnsureCount() public method

Ensures that the factory has at least the given number of elements ready to take.
public EnsureCount ( int minimumCount ) : void
minimumCount int Minimum number of elements to ensure in the factory.
return void
        public void EnsureCount(int minimumCount)
        {
            if (Count < minimumCount)
                Count = minimumCount;
        }