BEPUphysics.BroadPhaseSystems.BroadPhase.Add C# (CSharp) Méthode

Add() public méthode

Adds an entry to the broad phase.
public Add ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entry ) : void
entry BEPUphysics.BroadPhaseSystems.BroadPhaseEntry Entry to add.
Résultat void
        public virtual void Add(BroadPhaseEntry entry)
        {
            if (entry.BroadPhase == null)
                entry.BroadPhase = this;
            else
                throw new Exception("Cannot add entry; it already belongs to a broad phase.");
        }