BEPUphysics.NarrowPhaseSystems.NarrowPhasePairFactory.EnsureCount C# (CSharp) Méthode

EnsureCount() public méthode

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.
Résultat void
        public void EnsureCount(int minimumCount)
        {
            if (Count < minimumCount)
                Count = minimumCount;
        }